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] gengtype parsing member fns


On 02/10/2017 01:55 PM, Nathan Sidwell wrote:
I happened to write an inline member fn containing a '/' operator.  That
caused gengtype to complain about an unexpected '/' character.  I
thought I'd gone crazy until I determined it was gengtype complaining
not cc1plus!

Anyway, this patch adds '/' to the set of single char tokens permitted
inside a structure definition.  I guess it was missed, what with / being
rare and also involved with /* and // comments.

I'll commit next week unless someone points out an error, and this isn't
obvious after all.
Seems reasonable to me.

Jeff


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