Preprocessor macro to quote its argument

Henry Spencer henry at zoo.toronto.edu
Mon Aug 20 11:28:39 AEST 1990


In article <1114 at mti.mti.com> adrian at mti.UUCP (Adrian McCarthy) writes:
>It has been pointed out by several kind folks that this is *not*
>ANSI-compliant.  ANSI preprocessors do the tokenization of the input for
>the rest of the compiler (thus ``preprocessor'' is arguably a misnomer)...

Actually, a good many pre-ANSI preprocessors do this too; X3J11 did not
invent this approach.
-- 
Committees do harm merely by existing. | Henry Spencer at U of Toronto Zoology
                       -Freeman Dyson  |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list