Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/rump/librump/rumpkern
On Sun, Jun 13, 2010 at 03:17:02PM +0000, Antti Kantee wrote:
> Fix previous in emul.c -- only numbers are operands for cpp comparisons.
> Apparently non-numbers logically produce arch-dependent behaviour.
Not at all.
C99 6.10.1 #4:
[...] After all replacements due to macro expansion and the defined
unary operator have been performed, all remaining identifiers
(including those lexically identical to keywords) are replaced with
the pp-number 0, and then each preprocessing token is converted into
a token. The resulting tokens compose the controlling constant
expression which is evaluated according to the rules of 6.6. [...]
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index