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: [PATCH,c++] provide intelligent error messages for missing semicolon after class definition


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


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