Non-compiled source text?

Henry Spencer henry at zoo.toronto.edu
Tue Dec 18 05:09:00 AEST 1990


In article <1422 at inews.intel.com> bhoughto at pima.intel.com (Blair P. Houghton) writes:
>Henry indicated that what's between the conditional
>directives isn't necessarily allowed to be any more bogus
>than what's before and after them; however, sec. 3.8.1, p.
>88, ll. 20-24, seem to indicate that lines not to be
>included are skipped...

However, before you even think about reading 3.8, you should read 2.1.1.2,
"Translation Phases".  The transformation from input text to preprocessor
tokens happens in phase 3, before anything in 3.8 is applicable... so it
really is required that the whole file be representable as pp-tokens.
It's not until phase 4 that #if and friends get executed.
-- 
"The average pointer, statistically,    |Henry Spencer at U of Toronto Zoology
points somewhere in X." -Hugh Redelmeier| henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list