// comments

Rex Jaeschke rex at aussie.UUCP
Fri Nov 10 04:05:35 AEST 1989


> Commenting out code is NOT the big reason why inline // comments
> are convenient!  It's so you don't have to remember to close every
> damn time.

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?

According to 2.1.1.2, page 6 of the draft, continuation lines are 
recognized before comments. However, the last line of a source file 
CANNOT have a continuation character.

Rex

----------------------------------------------------------------------------
                         ********   NEW POSTAL ADDRESS EFFECTIVE OCT 16th
----------------------------------------------------------------------------
Rex Jaeschke     | C Users Journal     |  Journal of C Language Translation
(703) 860-0091   | DEC PROFESSIONAL    |         2051 Swans Neck Way
uunet!aussie!rex | Programmers Journal |     Reston, Virginia 22091, USA
----------------------------------------------------------------------------
Convener of the Numerical C Extensions Group (NCEG)
----------------------------------------------------------------------------



More information about the Comp.std.c mailing list