On Sep 6, 2006, at 6:46 PM, Serge Bögeholz wrote:
Date: Tue, 29 Aug 2006 14:38:28 +1000 (EST)
From: Serge Bögeholz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: g++ question
This list isn't for how to program in C++. This list is for how to
write a compiler.
I was writin
-- Forwarded message --
Date: Tue, 29 Aug 2006 14:38:28 +1000 (EST)
From: Serge Bögeholz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: g++ question
To whom it may concern,
I'm currently using the following version of g++
g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.
Gabriel Dos Reis wrote:
Both branches of the if-statement contain an unconditional "break",
which implies that the apparant unbounded while-loop is executed only
once. If that reasoning is correct, why do we have the while-loop in
the first place?
Historical accident; a patch to remove it is
Hi,
While working on a project involing checking the internal (logic)
consistency of the C++ front-end, I came across the following code in
cp/parser.c:cp_parser_translation_unit():
while (true)
{
cp_parser_declaration_seq_opt (parser);
/* If there are no tokens left then all