ANSI Parsing/Preproc questions

Henry Spencer henry at zoo.toronto.edu
Thu Oct 18 02:40:50 AEST 1990


In article <5689 at stpstn.UUCP> lerman at stpstn.UUCP (Ken Lerman) writes:
>#define macro(X) vari/**/X
>...
>I don't know if this is "official" K&R or not, but it worked on a lot
>of machines...

It was never K&R-sanctioned.  Indeed, the detailed semantics of the
preprocessor were very fuzzy until ANSI C nailed them down.

And it worked on "a lot of machines" only so long as those machines were
all using PCC, with the Reiser preprocessor.  It generally did not work
with independently-implemented compilers.
-- 
"...the i860 is a wonderful source     | Henry Spencer at U of Toronto Zoology
of thesis topics."    --Preston Briggs |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list