comparison lisp/progmodes/make-mode.el @ 48980:1735ba4bf05b

(makefile-font-lock-keywords): Highlight automatic variable references enclosed in parens and optionally suffixed by F or D.
author Andreas Schwab <schwab@suse.de>
date Sat, 28 Dec 2002 01:02:40 +0000
parents 8e21762fb622
children 0d8b17d428b5
comparison
equal deleted inserted replaced
48979:81b2338bea6e 48980:1735ba4bf05b
271 ;; Variable references even in targets/strings/comments: 271 ;; Variable references even in targets/strings/comments:
272 '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend) 272 '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend)
273 273
274 ;; Automatic variable references. 274 ;; Automatic variable references.
275 '("\\$\\([@%<?^+*]\\)" 1 font-lock-reference-face prepend) 275 '("\\$\\([@%<?^+*]\\)" 1 font-lock-reference-face prepend)
276 '("\\$[({]\\([@%<?^+*][FD]?\\)[}):]" 1 font-lock-reference-face prepend)
276 277
277 ;; Fontify conditionals and includes. 278 ;; Fontify conditionals and includes.
278 ;; Note that plain `if' is an automake conditional, and not a bug. 279 ;; Note that plain `if' is an automake conditional, and not a bug.
279 (list 280 (list
280 (concat "^\\(?: [ \t]*\\)?" 281 (concat "^\\(?: [ \t]*\\)?"