diff options
| author | Alan Mackenzie | 2023-02-03 20:55:59 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2023-02-03 20:55:59 +0000 |
| commit | 0a95a81d8d36722ccf030a6194ecd953fc257a59 (patch) | |
| tree | 1f93607e5b19320aaeb8818fcdab2eac8c937517 /java | |
| parent | ac7ec87a7a0db887e4ae7fe9005aea517958b778 (diff) | |
| download | emacs-0a95a81d8d36722ccf030a6194ecd953fc257a59.tar.gz emacs-0a95a81d8d36722ccf030a6194ecd953fc257a59.zip | |
CC Mode: Fontify a certain foo * bar class by the asymmetric space heuristic
This fixes bug #61144. If the space around the * is "symmetric" we leave foo
* bar unfontified, a multiplication operation. If it is "asymmetric" we
fontify it as a pointer declaration.
* lisp/progmodes/cc-engine.el (c-fdoc-assymetric-space-about-asterisk): New
macro, extracted from c-forward-decl-or-cast-1.
(c-forward-decl-or-cast-1): Invoke the new macro twice, in CASE 16 (new) and
CASE 17.5 (the source of the macro). In CASE 16, additionally set
unsafe-maybe when appropriate.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions