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: PR 15236 pedantic switch modifies treatment of non-ISO compliant enumerations


>>>>> "Manuel" == Manuel LÃpez-IbÃÃez <lopezibanez@gmail.com> writes:

Manuel>   (build_enumerator): Take a location parameter. Give a pedwarn but do
Manuel> not perform any conversion.
Manuel>   * c-parser.c (c_parser_enum_specifier): Set correct location for enumerator.

I just wanted to say -- I like the change to pass the location here
and I think the C and C++ front ends need a bit more of this... not
just for errors but also to set locations on exprs.

thanks,
Tom


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