Variable: semantic-grammar-mode-keywords-2

semantic-grammar-mode-keywords-2 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)
 ("(\\(cl-def\\(?:generic\\|m\\(?:acro\\|ethod\\)\\|s\\(?:\\(?:truc\\|ubs\\)t\\)\\|type\\|un\\)\\|def\\(?:a\\(?:dvice\\|lias\\)\\|c\\(?:lass\\|onst\\|ustom\\)\\|face\\|g\\(?:eneric\\|roup\\)\\|ine-\\(?:advice\\|derived-mode\\|error\\|g\\(?:\\(?:eneric\\|lobal\\(?:\\(?:ized\\)?-minor\\)\\)-mode\\)\\|inline\\|minor-mode\\|skeleton\\|widget\\)\\|m\\(?:acro\\|ethod\\)\\|subst\\|theme\\|un\\|var\\(?:-local\\|alias\\)?\\)\\|ert-deftest\\)\\_>[    ']*\\(([        ']*\\)?\\(\\(setf\\)[   ]+\\(?:\\w\\|\\s_\\|\\\\.\\)+\\|\\(?:\\w\\|\\s_\\|\\\\.\\)+\\)?"
  (1 font-lock-keyword-face)
  (3
   (let
       ((type (get (intern-soft (match-string 1)) 'lisp-define-type)))
     (cond ((eq type 'var) font-lock-variable-name-face)
	   ((eq type 'type) font-lock-type-face)
	   ((or (not (match-string 2))
		(and (match-string 2) (match-string 4)))
	    font-lock-function-name-face)))
   nil t))
 ("^;;;###\\(\\([-[:alnum:]]+?\\)-\\)?\\(autoload\\)"
  (3 font-lock-warning-face prepend)
  (2 font-lock-function-name-face prepend t)))

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-2
  (append semantic-grammar-mode-keywords-1
	  (if (boundp 'lisp-font-lock-keywords-1)
	      lisp-font-lock-keywords-1
	    lisp-el-font-lock-keywords-1))
  "Font Lock keywords used to highlight Semantic grammar buffers.")