changeset 16461:5c354ae6e9ae

(makefile-font-lock-keywords): Accept - and . in variable names.
author Karl Heuer <kwzh@gnu.org>
date Fri, 25 Oct 1996 04:34:53 +0000
parents 4d7d18a39871
children de67834f456d
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	Fri Oct 25 04:31:26 1996 +0000
+++ b/lisp/progmodes/make-mode.el	Fri Oct 25 04:34:53 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)