This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: case ranges in C++ (extension)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]