]> git.eshelyaron.com Git - emacs.git/commitdiff
(makefile-font-lock-keywords): Catch variable
authorRichard M. Stallman <rms@gnu.org>
Tue, 20 Aug 1996 20:42:52 +0000 (20:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 20 Aug 1996 20:42:52 +0000 (20:42 +0000)
references that use substitutions.

lisp/progmodes/make-mode.el

index 5721cc53b00d99671092efd969acae88310a12ff..f535012e043efb8110d3597fb6fb2b28035b914c 100644 (file)
@@ -214,7 +214,7 @@ not be enclosed in { } or ( ).")
    (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)