Variable: semantic-unmatched-syntax-hook
semantic-unmatched-syntax-hook is a variable defined in
semantic.el.gz.
Value
nil
Documentation
Hooks run when Semantic detects syntax not matched in a grammar.
Each individual piece of syntax (such as a symbol or punctuation
character) is called with this hook when it doesn't match in the
grammar, and multiple unmatched syntax elements are not grouped
together. Each hook is called with one argument, which is a list
of syntax tokens created by the semantic lexer. Use the functions
semantic-lex-token-start, semantic-lex-token-end and
semantic-lex-token-text to get information about these tokens.
The current buffer is the buffer these tokens are derived from.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic.el.gz
(defvar semantic-unmatched-syntax-hook nil
"Hooks run when Semantic detects syntax not matched in a grammar.
Each individual piece of syntax (such as a symbol or punctuation
character) is called with this hook when it doesn't match in the
grammar, and multiple unmatched syntax elements are not grouped
together. Each hook is called with one argument, which is a list
of syntax tokens created by the semantic lexer. Use the functions
`semantic-lex-token-start', `semantic-lex-token-end' and
`semantic-lex-token-text' to get information about these tokens.
The current buffer is the buffer these tokens are derived from.")