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: Removal of parse-y etc.


You removed pending_lang_change, but it is still referenced, in a
beloved #ifdef, in c-lex.c.
And it turns out it's still needed; that's what's causing David's bug.

This is an evil, out-of-band, communication between the C lexer and
the parser, but I'm not going to touch it right now.  (This should
probably be implemented via an explicit token in the token stream,
but the current way is correct -- just tricky.)

Thanks,

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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