Amend to fontify /regexp/s in actions correctly.
authorAlan Mackenzie <acm@muc.de>
Tue, 29 Jan 2013 20:51:07 +0000 (20:51 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 29 Jan 2013 20:51:07 +0000 (20:51 +0000)
commit953e5b8cb2326f1b153ad29c2af7c5b488865162
treeca217b7f9e5d32ce62d70f6843619765e511b1ad
parent2f52b5608c5dd7b5f1a4f339f1de8bfa43619ba1
Amend to fontify /regexp/s in actions correctly.
cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
(c-awk-harmless-string*-here-re): braces, parens and semicolons are no
longer included.
(c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re): What used
to be these variables without "-line" in the name.
(c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
(c-awk-non-arith-op-bra-re): Now also matches {.
(c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print", "return",
and "case".
(c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed by /.
(c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
(c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
lisp/ChangeLog
lisp/progmodes/cc-awk.el