From: Alan Mackenzie <acm@muc.de>
To: emacs-devel@gnu.org
Subject: Nostalgia in CC Mode.
Date: Thu, 5 Oct 2017 17:35:56 +0000 [thread overview]
Message-ID: <20171005173556.GA4924@ACM> (raw)
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).
reply other threads:[~2017-10-05 17:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171005173556.GA4924@ACM \
--to=acm@muc.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.