Is this correct action for the c compiler/preprocessor ??
Herb Chong
herbie at polaris.UUCP
Wed Nov 6 11:46:21 AEST 1985
In article <197 at opus.UUCP> rcd at opus.UUCP (Dick Dunn) writes:
>Foo. Come on, folks! The relevant section of K&R is easy enough to
>find--it's called "Token Replacement". It's only half a page long and not
>that hard to read. Read along with me...
>
> Text inside a string or a character constant is not subject to
> replacement.
>
>Get it?
i disagree. K&R does not mention what happens at macro definition
time. you have just described the case for macro recognition and
substituion. in fact, K&R's description of the preprocessot leaves a
lot to be desired, and so does the semantic definition of the
language.
Herb Chong...
I'm still user-friendly -- I don't byte, I nybble....
New net address --
VNET,BITNET,NETNORTH,EARN: HERBIE AT YKTVMH
UUCP: {allegra|cbosgd|cmcl2|decvax|ihnp4|seismo}!philabs!polaris!herbie
CSNET: herbie.yktvmh at ibm-sj.csnet
ARPA: herbie.yktvmh.ibm-sj.csnet at csnet-relay.arpa
========================================================================
DISCLAIMER: what you just read was produced by pouring lukewarm
tea for 42 seconds onto 9 people chained to 6 Ouija boards.
More information about the Comp.unix.wizards
mailing list