Comment Syntax

Donald Lewine lewine at cheshirecat.rtp.dg.com
Wed Nov 14 06:29:45 AEST 1990


In article <48.UUL1.3#5077 at aussie.COM>, rex at aussie.COM (Rex Jaeschke) writes:
|> 
|> So, for a future version of ANSI C to adopt //, they would have to 
|> either rearrange the phases of translation (unlikely since that would 
|> no longer be backwards compatible) or to treat // and /**/ comments 
|> differently and add a new phase for //.

	Or say, "// comments may be continued using \, as in
	// This is a comment \
       and so it this.

I am not saying that continuing // comments is a good idea, merely that
it is possible without out major rework to the structure of the
compiler.


--------------------------------------------------------------------
Donald A. Lewine                (508) 870-9008 Voice
Data General Corporation        (508) 366-0750 FAX
4400 Computer Drive. MS D112A
Westboro, MA 01580  U.S.A.

uucp: uunet!dg!lewine   Internet: lewine at cheshirecat.webo.dg.com



More information about the Comp.std.c mailing list