Files
emacs/lisp/progmodes
Alan Mackenzie ca3cc92e14 CC Mode: Make implicit int types following specifiers fontify correctly
This fixes bug #59267.  It applies to C Mode only, and refers to constructs
like "register count;" which are implicitly of int type.

* lisp/progmodes/cc-engine.el (c-forward-type): Use the new regexp
c-maybe-typeless-specifier-re in place of c-opt-type-modifier-prefix-key.  Add
an extra arm to the main cond form to handle the construct, and another to
handle "extern "C" foo_t my_foo;".
(c-forward-decl-or-cast-1): Adapt to handle the result no-id from
c-forward-type.

* lisp/progmodes/cc-langs.el (c-maybe-typeless-specifier-re): New lang
const/var.
2022-11-17 10:36:59 +00:00
..
2022-11-11 15:52:37 +01:00
2022-11-11 15:52:37 +01:00
2022-11-04 20:12:15 +01:00
2022-10-30 13:16:03 +01:00
2022-11-17 09:34:24 +01:00
2022-10-26 23:04:23 +02:00
2022-10-29 03:42:46 +02:00
2022-10-20 09:36:11 +02:00
2022-11-06 15:40:19 +01:00
2022-10-29 17:08:51 +02:00
2022-10-30 21:33:35 +01:00
2022-11-13 15:17:07 +01:00