Article View: comp.std.c
Article #883Re: // comments
From: Rex Jaeschke
Date: Thu, 09 Nov 1989 17:05
Date: Thu, 09 Nov 1989 17:05
27 lines
1544 bytes
1544 bytes
> 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)
----------------------------------------------------------------------------
Technical Details
Message-ID:
<27.UUL1.3#5077@aussie.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!aussie!rexReferences:
<14883@bfmny0.UU.NET>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!aussie!rex From: rex@aussie.UUCP (Rex Jaeschke) Newsgroups: comp.std.c Subject: Re: // comments Message-ID: <27.UUL1.3#5077@aussie.UUCP> Date: 9 Nov 89 17:05:35 GMT References: <14883@bfmny0.UU.NET> Organization: Journal of C Language Translation Lines: 27