Function: wisent-collect-unmatched-syntax
wisent-collect-unmatched-syntax is a byte-compiled function defined in
wisent.el.gz.
Signature
(wisent-collect-unmatched-syntax NOMATCH)
Documentation
Add lexical token NOMATCH to the cache of unmatched tokens.
See also the variable semantic-unmatched-syntax-cache.
NOMATCH is in Wisent's form: (SYMBOL VALUE START . END)
and will be collected in semantic-lex form: (SYMBOL START . END).
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent.el.gz
;; Unmatched syntax collector
;;
(defun wisent-collect-unmatched-syntax (nomatch)
"Add lexical token NOMATCH to the cache of unmatched tokens.
See also the variable `semantic-unmatched-syntax-cache'.
NOMATCH is in Wisent's form: (SYMBOL VALUE START . END)
and will be collected in `semantic-lex' form: (SYMBOL START . END)."
(let ((region (cddr nomatch)))
(and (number-or-marker-p (car region))
(number-or-marker-p (cdr region))
(setq semantic-unmatched-syntax-cache
(cons (cons (car nomatch) region)
semantic-unmatched-syntax-cache)))))