Function: semantic-lex-spp-reset-hook
semantic-lex-spp-reset-hook is a byte-compiled function defined in
lex-spp.el.gz.
Signature
(semantic-lex-spp-reset-hook START END)
Documentation
Reset anything needed by SPP for parsing.
In this case, reset the dynamic macro symbol table if START is (point-min). END is not used.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex-spp.el.gz
(defun semantic-lex-spp-reset-hook (start _end)
"Reset anything needed by SPP for parsing.
In this case, reset the dynamic macro symbol table if
START is (point-min).
END is not used."
(when (= start (point-min))
(setq semantic-lex-spp-dynamic-macro-symbol-obarray nil
semantic-lex-spp-dynamic-macro-symbol-obarray-stack nil
;; This shouldn't not be nil, but reset just in case.
semantic-lex-spp-expanded-macro-stack nil)
))