asm-font-lock-keywords
asm-font-lock-keywords is a variable defined in `
asm-mode.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Additional expressions to highlight in Assembler mode.
Value:
(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ ]*\\(\\sw+\\(\\.\\sw+\\)*\\)?"
(1 font-lock-function-name-face)
(3 font-lock-keyword-face nil t))
("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>:" 1 font-lock-function-name-face)
("^\\((\\sw+)\\)?\\s +\\(\\(\\.?\\sw\\|\\s_\\)+\\(\\.\\sw+\\)*\\)" 2 font-lock-keyword-face)
("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>[^:]?" 1 font-lock-keyword-face)
("%\\sw+" . font-lock-variable-name-face)
("^#[ ]*\\(?:error\\|warning\\)[ ]+\\(.+\\)" 1 font-lock-warning-face prepend)
("^#[ ]*\\(?:import\\|include\\)[ ]*\\(<[^>\"\n]*>?\\)" 1 font-lock-string-face prepend)
("^#[ ]*define[ ]+\\([[:alpha:]_][[:alnum:]_$]*\\)("
(1 font-lock-function-name-face prepend)
((lambda
(limit)
(re-search-forward "\\(?:\\([[:alpha:]_][[:alnum:]_]*\\)[,]?\\)"
(or
(save-excursion
(re-search-forward ")" limit t))
limit)
t))
nil nil
(1 font-lock-variable-name-face prepend)))
("^#[ ]*\\(?:elif\\|if\\)\\>"
("\\<\\(defined\\)\\>[ ]*(?\\([[:alpha:]_][[:alnum:]_]*\\)?" nil nil
(1 font-lock-builtin-face prepend)
(2 font-lock-variable-name-face prepend t)))
("^\\(#[ ]*\\(?:define\\|e\\(?:l\\(?:if\\|se\\)\\|ndif\\|rror\\)\\|file\\|i\\(?:f\\(?:n?def\\)?\\|mport\\|nclude\\)\\|line\\|pragma\\|undef\\|warning\\)\\)\\>[ !]*\\([[:alpha:]_][[:alnum:]_]*\\)?"
(1 font-lock-preprocessor-face prepend)
(2 font-lock-variable-name-face nil t)))