Function: semantic--grammar-macros-regexp-1
semantic--grammar-macros-regexp-1 is a byte-compiled function defined
in grammar.el.gz.
Signature
(semantic--grammar-macros-regexp-1)
Documentation
Return font-lock keyword regexp for pre-installed macro names.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
(defun semantic--grammar-macros-regexp-1 ()
"Return font-lock keyword regexp for pre-installed macro names."
(and semantic-grammar-macros
(not semantic--grammar-macros-regexp-1)
(condition-case nil
(setq semantic--grammar-macros-regexp-1
(concat "(\\s-*"
(regexp-opt
(mapcar (lambda (e) (symbol-name (car e)))
semantic-grammar-macros)
t)
"\\>"))
(error nil)))
semantic--grammar-macros-regexp-1)