1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(makefile-font-lock-keywords): Catch variable

references that use substitutions.
This commit is contained in:
Richard M. Stallman 1996-08-20 20:42:52 +00:00
parent 60f10a06e1
commit d6749f8f3d

View 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)