diff options
| author | Alan Mackenzie <acm@muc.de> | 2016-08-25 16:21:55 +0000 |
|---|---|---|
| committer | Alan Mackenzie <acm@muc.de> | 2016-08-25 16:21:55 +0000 |
| commit | 93c67f6b2c98ab69e25d2ca7417bcf6c15a165db (patch) | |
| tree | e93367ebdc233f2097be01ca3bed05e67a9d9e4b /lisp/emacs-lisp/generic.el | |
| parent | 5e84dcefb4b7fcf3b5af985345ed1ee5ef5df135 (diff) | |
| download | emacs-93c67f6b2c98ab69e25d2ca7417bcf6c15a165db.tar.gz | |
Fix an infinite loop in C++ Mode when we have "{ .... [ .... }"
* lisp/progmodes/cc-fonts.el (c-font-lock-c++-lambda-captures): In the inner
`while' form's condition, check for "\\s)" rather than merely "\\]", so that
the loop won't hang at a "terminating" paren of a different type (due to the
c-syntactic-re-search-forward at the end of the loop stopping at such
characters).
Diffstat (limited to 'lisp/emacs-lisp/generic.el')
0 files changed, 0 insertions, 0 deletions
