Mercurial > emacs
diff lisp/progmodes/m4-mode.el @ 16618:7f975e29d4ee
Fixed syntax table for quotes since they messed up
highlighting in comments and other constructions.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 07 Dec 1996 20:26:25 +0000 |
parents | 4e58112986fd |
children | 88e528f3dc49 |
line wrap: on
line diff
--- a/lisp/progmodes/m4-mode.el Sat Dec 07 20:15:18 1996 +0000 +++ b/lisp/progmodes/m4-mode.el Sat Dec 07 20:26:25 1996 +0000 @@ -59,6 +59,8 @@ ("\\\$\\\*" . font-lock-variable-name-face) ("\\\$[0-9]" . font-lock-variable-name-face) ("\\\$\\\#" . font-lock-variable-name-face) + ("\\\$\\\@" . font-lock-variable-name-face) + ("\\\$\\\*" . font-lock-variable-name-face) ("\\b\\(builtin\\|change\\(com\\|quote\\|word\\)\\|d\\(e\\(bug\\(file\\|mode\\)\\|cr\\|f\\(ine\\|n\\)\\)\\|iv\\(ert\\|num\\)\\|nl\\|umpdef\\)\\|e\\(rrprint\\|syscmd\\|val\\)\\|f\\(ile\\|ormat\\)\\|gnu\\|i\\(f\\(def\\|else\\)\\|n\\(c\\(lude\\|r\\)\\|d\\(ex\\|ir\\)\\)\\)\\|l\\(en\\|ine\\)\\|m\\(4\\(exit\\|wrap\\)\\|aketemp\\)\\|p\\(atsubst\\|opdef\\|ushdef\\)\\|regexp\\|s\\(hift\\|include\\|ubstr\\|ys\\(cmd\\|val\\)\\)\\|tra\\(ceo\\(ff\\|n\\)\\|nslit\\)\\|un\\(d\\(efine\\|ivert\\)\\|ix\\)\\)\\b" . font-lock-keyword-face) ("\\b\\(m4_\\(builtin\\|change\\(com\\|quote\\|word\\)\\|d\\(e\\(bug\\(file\\|mode\\)\\|cr\\|f\\(ine\\|n\\)\\)\\|iv\\(ert\\|num\\)\\|nl\\|umpdef\\)\\|e\\(rrprint\\|syscmd\\|val\\)\\|f\\(ile\\|ormat\\)\\|i\\(f\\(def\\|else\\)\\|n\\(c\\(lude\\|r\\)\\|d\\(ex\\|ir\\)\\)\\)\\|l\\(en\\|ine\\)\\|m\\(4\\(_undefine\\|exit\\|wrap\\)\\|aketemp\\)\\|p\\(atsubst\\|opdef\\|ushdef\\)\\|regexp\\|s\\(hift\\|include\\|ubstr\\|ys\\(cmd\\|val\\)\\)\\|tra\\(ceo\\(ff\\|n\\)\\|nslit\\)\\|undivert\\)\\)\\b" . font-lock-keyword-face) "default font-lock-keywords") @@ -76,6 +78,7 @@ (modify-syntax-entry ?} "_" m4-mode-syntax-table) (modify-syntax-entry ?* "w" m4-mode-syntax-table) (modify-syntax-entry ?_ "w" m4-mode-syntax-table) +(modify-syntax-entry ?\" "w" m4-mode-syntax-table) (defvar m4-mode-map (let ((map (make-sparse-keymap)))