diff options
| author | Karl Heuer | 1994-12-09 06:24:22 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-12-09 06:24:22 +0000 |
| commit | 33f54425db6698cc09e8fc263fe48928e0d4ec74 (patch) | |
| tree | 06b75da313f5b25b1b24773098d322744868d343 /lisp | |
| parent | 6054fcc6452dd2ecf707ed9e616ea8c568f6bb52 (diff) | |
| download | emacs-33f54425db6698cc09e8fc263fe48928e0d4ec74.tar.gz emacs-33f54425db6698cc09e8fc263fe48928e0d4ec74.zip | |
Add patterns for asm-mode.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/hilit19.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/hilit19.el b/lisp/hilit19.el index 35b9e98fb4e..5fca0bab48e 100644 --- a/lisp/hilit19.el +++ b/lisp/hilit19.el | |||
| @@ -1472,6 +1472,20 @@ number of backslashes." | |||
| 1472 | ("S M Tu W Th F S" nil label))) ; week days | 1472 | ("S M Tu W Th F S" nil label))) ; week days |
| 1473 | 1473 | ||
| 1474 | (hilit-set-mode-patterns | 1474 | (hilit-set-mode-patterns |
| 1475 | 'asm-mode | ||
| 1476 | '(("/\\*" "\\*/" comment) | ||
| 1477 | ("^#[ \t]*\\(undef\\|define\\).*$" "[^\\]$" define) | ||
| 1478 | ("^#.*$" nil include) | ||
| 1479 | ;; labels | ||
| 1480 | ("^.+:" nil defun) | ||
| 1481 | ;; assembler directives | ||
| 1482 | ("^[ \t]*\\..*$" nil decl) | ||
| 1483 | ;; register names | ||
| 1484 | ("\\$[a-z0-9]+" nil string) | ||
| 1485 | ;; mnemonics | ||
| 1486 | ("^[ \t]*[a-z]+" nil struct))) | ||
| 1487 | |||
| 1488 | (hilit-set-mode-patterns | ||
| 1475 | 'pascal-mode | 1489 | 'pascal-mode |
| 1476 | '(("(\\*" "\\*)" comment) | 1490 | '(("(\\*" "\\*)" comment) |
| 1477 | ("{" "}" comment) | 1491 | ("{" "}" comment) |