[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CC Mode - syntactical can of worms.

From: Andreas Schwab
Subject: Re: CC Mode - syntactical can of worms.
Date: Thu, 31 Jan 2008 13:53:13 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

> Hi, Emacs and CC Mode!
> Following up from: address@hidden: Bug in emacs 22.1.1 (cosmetic
> bug)].
> This bug was in C Mode, with the following source line:
>     #warning for isn't a keyword here.

This is not a valid preprocessing directive, it lacks a matching single

> Would anybody like to give me any ideas here?

I'd just ignore this case.  IMHO it is quite approriate to completely
mess up the fontification so that the error is very visible.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]