aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Mackenzie2016-08-25 16:21:55 +0000
committerAlan Mackenzie2016-08-25 16:21:55 +0000
commit93c67f6b2c98ab69e25d2ca7417bcf6c15a165db (patch)
treee93367ebdc233f2097be01ca3bed05e67a9d9e4b /src
parent5e84dcefb4b7fcf3b5af985345ed1ee5ef5df135 (diff)
downloademacs-93c67f6b2c98ab69e25d2ca7417bcf6c15a165db.tar.gz
emacs-93c67f6b2c98ab69e25d2ca7417bcf6c15a165db.zip
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 'src')
0 files changed, 0 insertions, 0 deletions