[PATCH,c++] provide intelligent error messages for missing semicolon after class definition

Mark Mitchell mark@codesourcery.com
Thu Nov 18 19:20:00 GMT 2010


On 11/18/2010 9:58 AM, Nathan Froyd wrote:

> I think it would be reasonable to provide functions for the RID_*
> constants (keyword_is_{storage_class,type}_specifier, perhaps); such
> lists occur all over the place.  But I'm not sure it's worthwhile for
> the CPP_* constants in this case.  A function
> cpp_token_in_follow_set_for_class_specifier doesn't seem like it'd be
> reusable.  WDYT?

Yes, that sounds reasonable.

Thank you,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list