]> git.eshelyaron.com Git - emacs.git/commitdiff
(makefile-font-lock-keywords): Accept - and . in
authorKarl Heuer <kwzh@gnu.org>
Fri, 25 Oct 1996 04:34:53 +0000 (04:34 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 25 Oct 1996 04:34:53 +0000 (04:34 +0000)
variable names.

lisp/progmodes/make-mode.el

index f535012e043efb8110d3597fb6fb2b28035b914c..47798469439b79cdcbc49348da5fdc553731649b 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)