Mercurial > emacs
changeset 84368:e7118f2331c7
(autoconf-definition-regexp):
Handle optional square brackets around definition name.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Fri, 07 Sep 2007 09:34:38 +0000 |
parents | 38ef78e02d32 |
children | 8e806b535743 |
files | lisp/progmodes/autoconf.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/autoconf.el Fri Sep 07 07:36:10 2007 +0000 +++ b/lisp/progmodes/autoconf.el Fri Sep 07 09:34:38 2007 +0000 @@ -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)