Commit 33f54425 authored by Karl Heuer's avatar Karl Heuer

Add patterns for asm-mode.

parent 6054fcc6
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment