Commit 769c4c63 authored by Andreas Schwab's avatar Andreas Schwab

(asm-font-lock-keywords): Allow arbitrary

words separated by dots.  Match optional parenthesized word at
start of line.
parent 4cac2fc3
2003-02-02 Andreas Schwab <schwab@suse.de>
* progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary
words separated by dots. Match optional parenthesized word at
start of line.
* font-lock.el
(font-lock-match-c-style-declaration-item-and-skip-to-next):
Don't require underscore in word before double open-paren.
2003-02-02 John Paul Wallington <jpw@gnu.org>
* hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.
......
;;; asm-mode.el --- mode for editing assembler code
;; Copyright (C) 1991 Free Software Foundation, Inc.
;; Copyright (C) 1991, 2003 Free Software Foundation, Inc.
;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
;; Maintainer: FSF
......@@ -80,9 +80,10 @@
)
(defconst asm-font-lock-keywords
'(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ \t]*\\(\\sw+\\(\\.[lLwWbBsS]\\)?\\)?"
'(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ \t]*\\(\\sw+\\(\\.\\sw+\\)*\\)?"
(1 font-lock-function-name-face) (3 font-lock-keyword-face nil t))
("^\\s +\\(\\(\\sw\\|\\s_\\)+\\(\\.[lLwWbBsS]\\)?\\)" 1 font-lock-keyword-face))
("^\\((\\sw+)\\)?\\s +\\(\\(\\sw\\|\\s_\\)+\\(\\.\\sw+\\)*\\)"
2 font-lock-keyword-face))
"Additional expressions to highlight in Assembler mode.")
(defvar asm-code-level-empty-comment-pattern nil)
......
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