changeset 57662:7e610a0ca662

(asm-font-lock-keywords): Use font-lock-variable-name-face for registers.
author Nick Roberts <nickrob@snap.net.nz>
date Sat, 23 Oct 2004 22:02:56 +0000
parents b59713cd72a2
children 32d43bf87999
files lisp/progmodes/asm-mode.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/asm-mode.el	Sat Oct 23 22:00:48 2004 +0000
+++ b/lisp/progmodes/asm-mode.el	Sat Oct 23 22:02:56 2004 +0000
@@ -90,7 +90,9 @@
     2 font-lock-keyword-face)
    ;; directive started from ".".
    ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>[^:]?"
-    1 font-lock-keyword-face))
+    1 font-lock-keyword-face)
+   ;; %register
+   ("%\\sw+" . font-lock-variable-name-face))
  "Additional expressions to highlight in Assembler mode.")
 
 ;;;###autoload