Path: utzoo!utgpu!watmath!maytag!aries5!lhf From: lhf@aries5.uucp (Luiz H de Figueiredo) Newsgroups: comp.std.c Subject: Re: // comments Message-ID: <799@maytag.waterloo.edu> Date: 9 Nov 89 21:21:36 GMT References: <14883@bfmny0.UU.NET> <27.UUL1.3#5077@aussie.UUCP> Sender: daemon@maytag.waterloo.edu Reply-To: lhf@aries5.UUCP (Luiz H de Figueiredo) Organization: Computer Systems Group, University of Waterloo Lines: 18 In article <27.UUL1.3#5077@aussie.UUCP> rex@aussie.UUCP (Rex Jaeschke) writes: > >How would you then propose the phases of translation problem be >resolved? Consider the following: > >#define A 10 // ..... \ > >Is the backslash part of the comment or is it a continuation >character? The removal of \ occurs in phase 2, *before* comments are replaced by spaces. For //-comments, the same rule would hold. -- Luiz Henrique de Figueiredo internet: lhf@aries5.uwaterloo.ca Computer Systems Group bitnet: lhf@watcsg.bitnet University of Waterloo Waterloo, Ontario, Canada N2L 3G1