This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Removal of parse-y etc.
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 30 Dec 2002 11:21:13 -0800
- Subject: 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