1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

Add patterns for asm-mode.

This commit is contained in:
Karl Heuer 1994-12-09 06:24:22 +00:00
parent 6054fcc645
commit 33f54425db

View File

@ -1471,6 +1471,20 @@ number of backslashes."
'(("[A-Z][a-z]+ [0-9]+" nil define) ; month and year
("S M Tu W Th F S" nil label))) ; week days
(hilit-set-mode-patterns
'asm-mode
'(("/\\*" "\\*/" comment)
("^#[ \t]*\\(undef\\|define\\).*$" "[^\\]$" define)
("^#.*$" nil include)
;; labels
("^.+:" nil defun)
;; assembler directives
("^[ \t]*\\..*$" nil decl)
;; register names
("\\$[a-z0-9]+" nil string)
;; mnemonics
("^[ \t]*[a-z]+" nil struct)))
(hilit-set-mode-patterns
'pascal-mode
'(("(\\*" "\\*)" comment)