diff options
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/asm-mode.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index 6feded31b7f..96b14596f6b 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; asm-mode.el --- mode for editing assembler code | 1 | ;;; asm-mode.el --- mode for editing assembler code |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1991 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1991, 2003 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -80,9 +80,10 @@ | |||
| 80 | ) | 80 | ) |
| 81 | 81 | ||
| 82 | (defconst asm-font-lock-keywords | 82 | (defconst asm-font-lock-keywords |
| 83 | '(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ \t]*\\(\\sw+\\(\\.[lLwWbBsS]\\)?\\)?" | 83 | '(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ \t]*\\(\\sw+\\(\\.\\sw+\\)*\\)?" |
| 84 | (1 font-lock-function-name-face) (3 font-lock-keyword-face nil t)) | 84 | (1 font-lock-function-name-face) (3 font-lock-keyword-face nil t)) |
| 85 | ("^\\s +\\(\\(\\sw\\|\\s_\\)+\\(\\.[lLwWbBsS]\\)?\\)" 1 font-lock-keyword-face)) | 85 | ("^\\((\\sw+)\\)?\\s +\\(\\(\\sw\\|\\s_\\)+\\(\\.\\sw+\\)*\\)" |
| 86 | 2 font-lock-keyword-face)) | ||
| 86 | "Additional expressions to highlight in Assembler mode.") | 87 | "Additional expressions to highlight in Assembler mode.") |
| 87 | 88 | ||
| 88 | (defvar asm-code-level-empty-comment-pattern nil) | 89 | (defvar asm-code-level-empty-comment-pattern nil) |