diff options
author | Alan Mackenzie <acm@muc.de> | 2019-08-06 16:49:29 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2019-08-06 16:49:29 +0000 |
commit | 7f0de07b3ac67370bfe78faac9c6bffdd90d55ce (patch) | |
tree | 7f5b277a4ee7d7a106b912e1c49090790f0056e3 /test/lisp/emacs-lisp/lisp-tests.el | |
parent | 96e672364cbd6f1a865511d78f3a218c0570345e (diff) | |
download | emacs-7f0de07b3ac67370bfe78faac9c6bffdd90d55ce.tar.gz |
C++ Mode: Prevent End of statement being found after {} in "count << vec{} <<"
* lisp/progmodes/cc-engine.el (c-beginning-of-statement-1): Check for
operators which cannot start a statement, which may follow a closing brace.
Don't recognise an end of statement in such a case.
* lisp/progmodes/cc-langs.el (c-operator-re, c-bin-tern-operators)
(c-unary-operators, c-non-after-{}-operators, c-non-after-{}-ops-re): New lang
consts and vars.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-tests.el')
0 files changed, 0 insertions, 0 deletions