Commit adde7693 authored by Daniel Pfeiffer's avatar Daniel Pfeiffer
Browse files

(makefile-rule-action-regex, makefile-macroassign-regex): Continuation lines...

(makefile-rule-action-regex, makefile-macroassign-regex): Continuation lines may be empty.  Reported by Joshua Varner.
(makefile-makepp-font-lock-keywords): Add $(stem).
parent 36f28e7f
2005-05-29 Daniel Pfeiffer <occitan@esperanto.org>
* progmodes/make-mode.el (makefile-rule-action-regex)
(makefile-macroassign-regex): Continuation lines may be empty.
Reported by Joshua Varner.
(makefile-makepp-font-lock-keywords): Add $(stem).
2005-05-28 Karl Berry <karl@gnu.org>
 
* textmodes/tex-mode.el: now that tex-send-command calls
......
......@@ -266,14 +266,14 @@ not be enclosed in { } or ( )."
"Characters to skip to find a line that might be a dependency.")
(defvar makefile-rule-action-regex
"^\t[ \t]*\\([-@]*\\)[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)"
"^\t[ \t]*\\([-@]*\\)[ \t]*\\(\\(?:.*\\\\\n\\)*.*\\)"
"Regex used to highlight rule action lines in font lock mode.")
;; Note that the first and second subexpression is used by font lock. Note
;; that if you change this regexp you might have to fix the imenu index in
;; makefile-imenu-generic-expression.
(defconst makefile-macroassign-regex
"^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\|[*:+]?[:?]?=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\)"
"^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\|[*:+]?[:?]?=[ \t]*\\(\\(?:.*\\\\\n\\)*.*\\)\\)"
"Regex used to find macro assignment lines in a makefile.")
(defconst makefile-var-use-regex
......@@ -420,7 +420,7 @@ not be enclosed in { } or ( )."
nil
"^\\(?: [ \t]*\\)?\\(?:and[ \t]+\\|else[ \t]+\\|or[ \t]+\\)?if\\(n\\)\\(?:def\\|eq\\|sys\\)\\>"
'("[^$]\\(\\$[({]\\(?:target\\|output\\)s?\\_>.*?[})]\\)"
'("[^$]\\(\\$[({]\\(?:output\\|stem\\|target\\)s?\\_>.*?[})]\\)"
1 'makefile-targets-face prepend)
;; Colon modifier keywords.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment