From: "Alfred M. Szmidt" <ams@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Another small problem of CC Mode
Date: Fri, 12 Jan 2007 04:13:47 +0100 (CET) [thread overview]
Message-ID: <20070112031347.0F3BC44006@Psilocybe.Update.UU.SE> (raw)
In-Reply-To: <BAY112-F1841EE7751C2F2CD25C49CDAB00@phx.gbl> (herberteuler@hotmail.com)
Of course, this is rare. But will making CC Mode detect this
situation and behave in a right way need much effort?
Not exactly the answer you are looking for, but reorganising your code
in the following manner would make CC mode behave properly.
#ifdef M1
extern void g(void);
# define M g
#else
extern void h(void);
# define M h
#endif
int
f(void)
{
do {
} while (M());
}
Happy hacking.
next prev parent reply other threads:[~2007-01-12 3:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-12 1:58 Another small problem of CC Mode Herbert Euler
2007-01-12 2:05 ` Herbert Euler
2007-01-12 3:13 ` Alfred M. Szmidt [this message]
2007-01-12 9:03 ` Alan Mackenzie
2007-01-12 10:06 ` Herbert Euler
2007-01-13 2:12 ` Miles Bader
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070112031347.0F3BC44006@Psilocybe.Update.UU.SE \
--to=ams@gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).