APPROVE COMMIT
On Tue, 2003-09-30 at 17:08, David Härdeman wrote:
If you start XEmacs, open a new php file (for instace by C-x C-f
"yadayada.php" <enter>) and then write on the first line:
$_COOKIE[
this error message will pop up: (and after that just about anything will
trigger the same error message).
Error caught in `font-lock-pre-idle-hook': (error No match 1 in
highlight (1 font-lock-constant-face nil nil))
[...]
Please let me know if you can reproduce this.
Yep, 100% reproducible here. It's due to differences between the XEmacs
and GNU Emacs implementations of regexp-opt, the attached patch is an
obvious fix (and consistent with how other regexp-opt'd regexps are
handled in php-mode.el). I've committed it and will feed upstream.
Thanks for the report.