Variable: semantic-flex-extensions

semantic-flex-extensions is a buffer-local variable defined in lex.el.gz.

This variable is obsolete since 28.1.

Documentation

Buffer local extensions to the lexical analyzer.

This should contain an alist with a key of a regex and a data element of a function. The function should both move point, and return a lexical token of the form:
  ( TYPE START . END)
nil is also a valid return value. TYPE can be any type of symbol, as long as it doesn't occur as a nonterminal in the language definition.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(defvar-local semantic-flex-extensions nil
  "Buffer local extensions to the lexical analyzer.
This should contain an alist with a key of a regex and a data element of
a function.  The function should both move point, and return a lexical
token of the form:
  ( TYPE START .  END)
nil is also a valid return value.
TYPE can be any type of symbol, as long as it doesn't occur as a
nonterminal in the language definition.")