diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/asm-mode.el | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fdf366d9f3e..81165d44e94 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-06-20 Masatake YAMATO <jet@gyve.org> | ||
| 2 | |||
| 3 | * progmodes/asm-mode.el (asm-font-lock-keywords): Support | ||
| 4 | labels starting with "." and directives starting with ".". | ||
| 5 | |||
| 1 | 2003-06-22 Andreas Schwab <schwab@suse.de> | 6 | 2003-06-22 Andreas Schwab <schwab@suse.de> |
| 2 | 7 | ||
| 3 | * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Avoid | 8 | * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Avoid |
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index 862a89e80b7..a3134e35145 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el | |||
| @@ -83,8 +83,14 @@ | |||
| 83 | (defconst asm-font-lock-keywords | 83 | (defconst asm-font-lock-keywords |
| 84 | '(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ \t]*\\(\\sw+\\(\\.\\sw+\\)*\\)?" | 84 | '(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ \t]*\\(\\sw+\\(\\.\\sw+\\)*\\)?" |
| 85 | (1 font-lock-function-name-face) (3 font-lock-keyword-face nil t)) | 85 | (1 font-lock-function-name-face) (3 font-lock-keyword-face nil t)) |
| 86 | ("^\\((\\sw+)\\)?\\s +\\(\\(\\sw\\|\\s_\\)+\\(\\.\\sw+\\)*\\)" | 86 | ;; label started from ".". |
| 87 | 2 font-lock-keyword-face)) | 87 | ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>:" |
| 88 | 1 font-lock-function-name-face) | ||
| 89 | ("^\\((\\sw+)\\)?\\s +\\(\\(\\.?\\sw\\|\\s_\\)+\\(\\.\\sw+\\)*\\)" | ||
| 90 | 2 font-lock-keyword-face) | ||
| 91 | ;; directive started from ".". | ||
| 92 | ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>[^:]?" | ||
| 93 | 1 font-lock-keyword-face)) | ||
| 88 | "Additional expressions to highlight in Assembler mode.") | 94 | "Additional expressions to highlight in Assembler mode.") |
| 89 | 95 | ||
| 90 | ;;;###autoload | 96 | ;;;###autoload |