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
dholl...@netbsd.org

Reply via email to