Liste des Groupes | Revenir à cl c |
On 27/02/2025 12:56, Ar Rakin wrote:Understood. It just felt too weird to me.bart <bc@freeuk.com> writes:No. Line splicing occurs in Translation Phase 2. Comment removal doesn't happen until Translation Phase3. If a compiler /didn't/ splice those lines, /that/ would be a bug.
>// isn't devoid of quirks (this is still C after all), for example:>
>
fopen(file,"rb"); // open file in \windows\system32\
fread(...);
>
Here, the // line continues onto the next, so that the fread is
commented out. But they are fewer.
Interesting. Isn't this considered a compiler bug?
Les messages affichés proviennent d'usenet.