This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: case ranges in C++ (extension)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Michael Matz <matz at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Jan 2004 12:38:22 -0800
- Subject: Re: case ranges in C++ (extension)
- Organization: CodeSourcery, LLC
- References: <Pine.LNX.4.58.0401271751540.3429@wotan.suse.de> <40172BD1.9080708@codesourcery.com> <Pine.LNX.4.58.0401292015010.3429@wotan.suse.de>
Michael Matz wrote:
Hi,
On Tue, 27 Jan 2004, Mark Mitchell wrote:
still accepts it. Would reimplementing this be accepted?
Yes.
See below. I survives building the libraries and C and C++ checking
without changes in results.
This change is OK, with a minor change to the comment in
cp_parser_labeled_statement, and new C++ test cases (from the code that
you posed) so that we don't lose this extension again.
The grammatical extension in cp_parser_labeled_statement should be
documented in the manner given in cp_parser_condition, rather than as
you did it.
With those changes, the patch is OK for GCC 3.4 and the mainline.
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com