aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2003-02-02 17:35:47 +0000
committerAndreas Schwab2003-02-02 17:35:47 +0000
commit769c4c6377fcdcb49c5e2ce11301d59ee675559b (patch)
tree25782e8b8192501355242670867211f273e11146
parent4cac2fc3fa46f66883ddc593b88e98f6961315e0 (diff)
downloademacs-769c4c6377fcdcb49c5e2ce11301d59ee675559b.tar.gz
emacs-769c4c6377fcdcb49c5e2ce11301d59ee675559b.zip
(asm-font-lock-keywords): Allow arbitrary
words separated by dots. Match optional parenthesized word at start of line.
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/progmodes/asm-mode.el7
2 files changed, 14 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4226ed987e9..28cf0a9ae65 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
12003-02-02 Andreas Schwab <schwab@suse.de>
2
3 * progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary
4 words separated by dots. Match optional parenthesized word at
5 start of line.
6
7 * font-lock.el
8 (font-lock-match-c-style-declaration-item-and-skip-to-next):
9 Don't require underscore in word before double open-paren.
10
12003-02-02 John Paul Wallington <jpw@gnu.org> 112003-02-02 John Paul Wallington <jpw@gnu.org>
2 12
3 * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'. 13 * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.
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)