Function: semantic-show-unmatched-lex-tokens-fetch
semantic-show-unmatched-lex-tokens-fetch is a byte-compiled function
defined in util-modes.el.gz.
Signature
(semantic-show-unmatched-lex-tokens-fetch)
Documentation
Fetch a list of unmatched lexical tokens from the current buffer.
Uses the overlays which have accurate bounds, and rebuilds what was originally passed in.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/util-modes.el.gz
(defun semantic-show-unmatched-lex-tokens-fetch ()
"Fetch a list of unmatched lexical tokens from the current buffer.
Uses the overlays which have accurate bounds, and rebuilds what was
originally passed in."
(let ((ol (overlays-in (point-min) (point-max)))
(ustc nil))
(while ol
(if (semantic-unmatched-syntax-overlay-p (car ol))
(setq ustc (cons (cons 'thing
(cons (overlay-start (car ol))
(overlay-end (car ol))))
ustc)))
(setq ol (cdr ol)))
(nreverse ustc))
)