diff options
author | Alan Mackenzie <acm@muc.de> | 2020-10-08 16:49:49 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2020-10-08 16:49:49 +0000 |
commit | 81fe8990c0e4c0980e599b6ec9cad6dcb945275a (patch) | |
tree | 2530782024acb7753ecfb655e05a7023865de96e /lisp/emacs-lisp/eieio-datadebug.el | |
parent | c7804ac4018fb03787f291d7ef1739b34914d930 (diff) | |
download | emacs-81fe8990c0e4c0980e599b6ec9cad6dcb945275a.tar.gz emacs-81fe8990c0e4c0980e599b6ec9cad6dcb945275a.tar.bz2 emacs-81fe8990c0e4c0980e599b6ec9cad6dcb945275a.zip |
CC Mode: Move the handling of keyword auto into type handling for C++.
This should allow auto, const, static, ... to be in any order.
* lisp/progmodes/cc-engine.el (c-forward-type): New return value 'no-id for
when auto precludes the parsing of a type identifier. Adapt processing for
this.
(c-forward-decl-or-cast-1): Use the new facility from c-forward-type.
* lisp/progmodes/cc-langs.el (c-type-modifier-prefix-kwds): Insert the value
of c-no-type-kwds into the value.
(c-no-type-kwds, c-no-type-key): New lang consts/vars, basically "auto".
(c-typeless-decl-kwds, c-modifier-kwds): Remove "auto" from the C++ value.
Diffstat (limited to 'lisp/emacs-lisp/eieio-datadebug.el')
0 files changed, 0 insertions, 0 deletions