🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #885

Re: // comments

#885
From: Luiz H de Figueiredo
Date: Thu, 09 Nov 1989 21:21
18 lines
1061 bytes
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   // ..... \<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@aries5.uwaterloo.ca
Computer Systems Group			bitnet:   lhf@watcsg.bitnet
University of Waterloo
Waterloo, Ontario, Canada  N2L 3G1
Technical Details
Message-ID: <799@maytag.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!maytag!aries5!lhf
References: <14883@bfmny0.UU.NET> <27.UUL1.3#5077@aussie.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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