Function: semantic-grammar-lex-prologue
semantic-grammar-lex-prologue is a byte-compiled function defined in
grammar.el.gz.
Signature
(semantic-grammar-lex-prologue)
Documentation
Detect and create a prologue token.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
;; Most of the analyzers are auto-generated from the grammar, but the
;; following which need special handling code.
;;
(define-lex-regex-analyzer semantic-grammar-lex-prologue
"Detect and create a prologue token."
"\\<%{"
;; Zing to the end of this brace block.
(semantic-lex-push-token
(semantic-lex-token
'PROLOGUE (point)
(save-excursion
(semantic-lex-unterminated-syntax-protection 'PROLOGUE
(forward-char)
(forward-sexp 1)
(point))))))