Variable: semantic-grammar-lex-prologue

semantic-grammar-lex-prologue is a variable defined in grammar.el.gz.

Value

((looking-at "\\<%{")
 (semantic-lex-push-token
  (semantic-lex-token 'PROLOGUE
		      (point)
		      (save-excursion
			(semantic-lex-unterminated-syntax-protection 'PROLOGUE
			  (forward-char)
			  (forward-sexp 1)
			  (point))))))

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))))))