diff options
author | Alan Mackenzie <acm@muc.de> | 2022-10-04 13:22:32 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-10-04 13:22:32 +0000 |
commit | 121c3d44be84ad1d4c5cccd629bb6994252950d1 (patch) | |
tree | a34f85f9990b3ab67efb29facd235180da5a26e5 /test/lisp/thread-tests.el | |
parent | 9565f45876f4911a0f27fced215f7e86d59655e8 (diff) | |
download | emacs-121c3d44be84ad1d4c5cccd629bb6994252950d1.tar.gz emacs-121c3d44be84ad1d4c5cccd629bb6994252950d1.tar.bz2 emacs-121c3d44be84ad1d4c5cccd629bb6994252950d1.zip |
CC Mode: Make c-forward-declarator move over a suffix after parens, e.g. const
Also tidy up several inaccuracies in the code.
* lisp/progmodes/cc-engine.el (c-forward-decl-arglist): Move point for modes
other than C++ Mode.
(c-forward-declarator): Move over a suffix following arglist parens
(e.g. const). Set the ARGLIST element of the return value to non-nil on
encountering an unbalanced open parenthesis. Don't move forward out of
enclosing parens.
* lisp/progmodes/cc-mode.el (c-fl-decl-end): Handle being in a multi-line
string. Move forward over token after declarator.
Diffstat (limited to 'test/lisp/thread-tests.el')
0 files changed, 0 insertions, 0 deletions