changeset 10133:3f9bc256eb13

Add patterns for asm-mode.
author Karl Heuer <kwzh@gnu.org>
date Fri, 09 Dec 1994 06:24:22 +0000
parents d6ab8efcd2ff
children c681703f7ce3
files lisp/hilit19.el
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hilit19.el	Fri Dec 09 06:14:44 1994 +0000
+++ b/lisp/hilit19.el	Fri Dec 09 06:24:22 1994 +0000
@@ -1472,6 +1472,20 @@
    ("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)
    ("{" "}" comment)