Variable: semantic-grammar-mode-keywords-1
semantic-grammar-mode-keywords-1 is a variable defined in
grammar.el.gz.
Value
(("\\(\\<%%\\>\\|\\<%[{}]\\)" 0 font-lock-constant-face)
("\\(%\\)\\(\\(\\sw\\|\\s_\\)+\\)" (1 font-lock-constant-face)
(2 font-lock-keyword-face))
("\\<error\\>" 0 (unless (semantic-grammar-in-lisp-p) 'bold))
("^\\(\\(\\sw\\|\\s_\\)+\\)[ \n
]*:" 1
font-lock-function-name-face)
(semantic--grammar-macros-matcher 1 font-lock-builtin-face)
("\\$\\(\\sw\\|\\s_\\)*" 0 font-lock-variable-name-face)
("<\\(\\(\\sw\\|\\s_\\)+\\)>" 1 font-lock-type-face)
("'\\s\\?.'" 0 font-lock-constant-face t)
("[
\n ]+:\\sw+\\>" 0 font-lock-builtin-face))
Documentation
Font Lock keywords used to highlight Semantic grammar buffers.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
(defvar semantic-grammar-mode-keywords-1
`(("\\(\\<%%\\>\\|\\<%[{}]\\)"
0 font-lock-constant-face)
("\\(%\\)\\(\\(\\sw\\|\\s_\\)+\\)"
(1 font-lock-constant-face)
(2 font-lock-keyword-face))
("\\<error\\>"
0 (unless (semantic-grammar-in-lisp-p) 'bold))
("^\\(\\(\\sw\\|\\s_\\)+\\)[ \n\r\t]*:"
1 font-lock-function-name-face)
(semantic--grammar-macros-matcher
1 font-lock-builtin-face)
("\\$\\(\\sw\\|\\s_\\)*"
0 font-lock-variable-name-face)
("<\\(\\(\\sw\\|\\s_\\)+\\)>"
1 font-lock-type-face)
(,semantic-grammar-lex-c-char-re
0 font-lock-constant-face t)
;; Must highlight :keyword here, because ':' is a punctuation in
;; grammar mode!
("[\r\n\t ]+:\\sw+\\>"
0 font-lock-builtin-face)
;; ;; Append the Semantic keywords
;; ,@semantic-fw-font-lock-keywords
)
"Font Lock keywords used to highlight Semantic grammar buffers.")