mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(autoconf-definition-regexp):
Handle optional square brackets around definition name.
This commit is contained in:
parent
f7ed05c9cc
commit
4f060cc7af
2 changed files with 6 additions and 1 deletions
|
|
@ -49,7 +49,7 @@
|
|||
'(("\\<dnl\\>" 0 '(11))))
|
||||
|
||||
(defconst autoconf-definition-regexp
|
||||
"AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\(\\sw+\\)")
|
||||
"AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\[*\\(\\sw+\\)\\]*")
|
||||
|
||||
(defvar autoconf-font-lock-keywords
|
||||
`(("\\_<A[CHMS]_\\sw+" . font-lock-keyword-face)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue