// comments

Luiz H de Figueiredo lhf at aries5.uucp
Fri Nov 10 08:21:36 AEST 1989


In article <27.UUL1.3#5077 at aussie.UUCP> rex at aussie.UUCP (Rex Jaeschke) writes:
>
>How would you then propose the phases of translation problem be 
>resolved? Consider the following:
>
>#define A 10   // ..... \<new-line>
>
>Is the backslash part of the comment or is it a continuation 
>character?

 The removal of \<new-line> occurs in phase 2, *before* comments are replaced
by spaces.
 For //-comments, the same rule would hold.
--
Luiz Henrique de Figueiredo		internet: lhf at aries5.uwaterloo.ca
Computer Systems Group			bitnet:   lhf at watcsg.bitnet
University of Waterloo
Waterloo, Ontario, Canada  N2L 3G1



More information about the Comp.std.c mailing list