This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,c++] provide intelligent error messages for missing semicolon after class definition
On 11/19/2010 6:31 AM, Nathan Froyd wrote:
> * c-common.h (keyword_begins_type_specifier): Declare.
> (keyword_is_storage_class_specifier): Declare.
> * c-common.c (keyword_begins_type_specifier): New function.
> (keyword_is_storage_class_specifier): New function.
There may be places we could/should use these new functions in the C/C++
parsers. But, that can be a cleanup for another day.
Patch OK.
Thank you,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713