Macro names imbedded in pp-numbers [repost]

Norman Diamond diamond at csl.sony.co.jp
Mon Nov 20 12:35:29 AEST 1989


In article <1989Nov17.171025.18983 at utzoo.uucp> henry at utzoo.uucp (Henry Spencer) writes:

>2.1.1.2 item 7 yields:  "Each preprocessing token is converted into a
>token."

Argh; you're right.  OK, next question:  if a program violates 2.1.1.2,
is it necessary to issue a warning?  I think not; 2.1.1.2 doesn't say
"constraints."  Therefore a macro imbedded in a pp-number results in
undefined behavior, and my processor is allowed to expand the macro,
right?  (I hope.)

-- 
Norman Diamond, Sony Corp. (diamond%ws.sony.junet at uunet.uu.net seems to work)
  Should the preceding opinions be caught or     |  James Bond asked his
  killed, the sender will disavow all knowledge  |  ATT rep for a source
  of their activities or whereabouts.            |  licence to "kill".



More information about the Comp.std.c mailing list