comparison lisp/progmodes/make-mode.el @ 38600:1d8c9639b73c

(makefile-macroassign-regex): Recognize the ?= operator. From Jonathan Kamens <jik@curl.com>.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 30 Jul 2001 11:08:52 +0000
parents 336177767929
children 66c7637cbf17
comparison
equal deleted inserted replaced
38599:29e540f10e62 38600:1d8c9639b73c
246 246
247 ;; Note that the first subexpression is used by font lock. Note 247 ;; Note that the first subexpression is used by font lock. Note
248 ;; that if you change this regexp you might have to fix the imenu 248 ;; that if you change this regexp you might have to fix the imenu
249 ;; index in makefile-imenu-generic-expression. 249 ;; index in makefile-imenu-generic-expression.
250 (defconst makefile-macroassign-regex 250 (defconst makefile-macroassign-regex
251 "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*[*:+]?:?=" 251 "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*[*:+]?[:?]?="
252 "Regex used to find macro assignment lines in a makefile.") 252 "Regex used to find macro assignment lines in a makefile.")
253 253
254 (defconst makefile-ignored-files-in-pickup-regex 254 (defconst makefile-ignored-files-in-pickup-regex
255 "\\(^\\..*\\)\\|\\(.*~$\\)\\|\\(.*,v$\\)\\|\\(\\.[chy]\\)" 255 "\\(^\\..*\\)\\|\\(.*~$\\)\\|\\(.*,v$\\)\\|\\(\\.[chy]\\)"
256 "Regex for filenames that will NOT be included in the target list.") 256 "Regex for filenames that will NOT be included in the target list.")