* Nostalgia in CC Mode.
@ 2017-10-05 17:35 Alan Mackenzie
0 siblings, 0 replies; only message in thread
From: Alan Mackenzie @ 2017-10-05 17:35 UTC (permalink / raw)
To: emacs-devel
Hello, Emacs.
I've recently fixed a few long standing bugs in CC Mode such that
typeless function declarations in C Mode now get properly fontified.
These are those implicit integer typed constructs, which look rather
like function calls.
So, in your 30 year old code, you will get "main" and "pain" properly
fontified in the following:
main (int argc, _char *argv[]);
pain (int argc, _char *argv[])
{}
. This also works with K&R function declarations:
main (argc, argv)
int argc;
char *argv;
{}
. At the moment, this is in the emacs-26 branch. It will presumably
find its way to the master branch when Somebody (tm) does the routine
copying of such bugfixes between branches.
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-05 17:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-05 17:35 Nostalgia in CC Mode Alan Mackenzie
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.