preprocessing: character- or token-based?

Henry Spencer henry at utzoo.uucp
Wed Aug 24 03:39:22 AEST 1988


In article <812 at polari.UUCP> rlb at polari.UUCP (rlb) writes:
>#define  aplus  +a
>     +aplus;       /* one operator, or two?   */
>
>ambiguous in meaning.  Can anyone point me (quoting exact passages :-)
>to a place in the Standard which precisely defines what happens in this
>case?  It seems to me that the problem is that the Standard nowhere defines
>the meaning of the part of translation phase 7 called "Preprocessing
>tokens are converted into tokens."

I think you've hit a genuine ambiguity here.  It should probably say "Each
preprocessing token is converted into a token.", which would eliminate
the ambiguity.
-- 
Intel CPUs are not defective,  |     Henry Spencer at U of Toronto Zoology
they just act that way.        | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.std.c mailing list