Article View: comp.std.c
Article #3665Re: Translation phases
From: Clive D.W. Feather
Date: Sun, 06 Aug 1995 11:32
Date: Sun, 06 Aug 1995 11:32
32 lines
1415 bytes
1415 bytes
In article <3vn3sp$qi6@goanna.cs.rmit.edu.au>,
Richard A. O'Keefe <ok@goanna.cs.rmit.edu.au> wrote:
> Could someone confirm that I have understood correctly that the order
> of translation phases is to be taken in deadly earnest,
*Everything* in the Standard is to be taken in deadly earnest.
> that "backslash new line" can appear _anywhere_, so that for example
> |L\
> |'x\
> |'
> is a valid long character constant, and
> |/\
> |* wow *\
> |/
> is a valid comment?
Right. Further, trigraphs are done *before* this, so that the first can
be written as:
|L??/
|'x??/
|'
The reasoning behind this is that *any* strictly conforming C program
can be written using only the ISO-646 invariant character set, on an
implementation with a limited line length.
--
Clive D.W. Feather | If you lie to the compiler,
clive@demon.net (work, preferred) | it will get its revenge.
clive@stdc.demon.co.uk (home) | - Henry Spencer
Technical Details
Message-ID:
<DCw02J.Mv3@stdc.demon.co.uk>Path:
arc1-ca.pugleaf.net!stdc.demon.co.uk!cliveReferences:
<3vn3sp$qi6@goanna.cs.rmit.edu.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive From: clive@stdc.demon.co.uk (Clive D.W. Feather) Newsgroups: comp.std.c Subject: Re: Translation phases Date: Sun, 6 Aug 1995 11:32:42 GMT Organization: Demon Internet Limited (personal account) Message-ID: <DCw02J.Mv3@stdc.demon.co.uk> References: <3vn3sp$qi6@goanna.cs.rmit.edu.au> Keywords: \ <newline> can happen ANYWHERE X-NNTP-Posting-Host: stdc.demon.co.uk