changeset 15888:f3afa8fdaf52

(makefile-font-lock-keywords): Catch variable references that use substitutions.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Aug 1996 20:42:52 +0000
parents 18c1dcf40139
children ca8f142ef5d2
files lisp/progmodes/make-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/make-mode.el	Tue Aug 20 19:11:55 1996 +0000
+++ b/lisp/progmodes/make-mode.el	Tue Aug 20 20:42:52 1996 +0000
@@ -214,7 +214,7 @@
    (list makefile-macroassign-regex 1 'font-lock-variable-name-face)
    ;;
    ;; Variable references even in targets/strings/comments:
-   '("\\$[({]\\([a-zA-Z0-9_]+\\)[})]" 1 font-lock-reference-face prepend)
+   '("\\$[({]\\([a-zA-Z0-9_]+\\)[}):]" 1 font-lock-reference-face prepend)
    ;;
    ;; Do dependencies.  These get the function name face.
    (list makefile-dependency-regex 1 'font-lock-function-name-face 'prepend)