changeset 49754:77c84ccd18b9

(makefile-font-lock-keywords): Simplify last change.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 12 Feb 2003 15:49:41 +0000
parents 307b9f6d7dac
children fb628fd7f726
files lisp/progmodes/make-mode.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/make-mode.el	Wed Feb 12 15:45:05 2003 +0000
+++ b/lisp/progmodes/make-mode.el	Wed Feb 12 15:49:41 2003 +0000
@@ -269,11 +269,11 @@
    (list makefile-dependency-regex 1 'font-lock-function-name-face)
 
    ;; Variable references even in targets/strings/comments.
-   '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend)
+   '("\\$[({]\\([-a-zA-Z0-9_.]+\\|[@%<?^+*][FD]?\\)[}):]"
+     1 font-lock-constant-face prepend)
 
    ;; Automatic variable references and single character variable references...
-   '("\\$\\([@%<?^+*_]\\|[a-zA-Z0-9]\\>\\)" 1 font-lock-reference-face prepend)
-   '("\\$[({]\\([@%<?^+*][FD]?\\)[}):]" 1 font-lock-reference-face prepend)
+   '("\\$\\([@%<?^+*_]\\|[a-zA-Z0-9]\\>\\)" 1 font-lock-constant-face prepend)
 
    ;; ...but not shell variables references.
    '("\\$\\$\\(\\sw+\\)" 1 'default t)