This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: bison patch to help gcc?
- From: Akim Demaille <akim at epita dot fr>
- To: Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: Tim Josling <tej at melbpc dot org dot au>, bison-patches at gnu dot org, gcc-patches at gcc dot gnu dot org, zack at codesourcery dot com
- Date: Sat, 29 Mar 2003 11:15:16 +0100
- Subject: Re: bison patch to help gcc?
- References: <3E8204B0.2070503@melbpc.org.au> <vi8llz18hmw.fsf@cs.ucla.edu>
Paul> Tim Josling <tej at melbpc dot org dot au> writes:
>> If this patch concept is acceptable I will create, document and test a
>> patch for inclusion in bison. Otherwise please let me know and I will
>> try and find another way.
Paul> That idea looks good to me.
Actually, I think that something more general would be most welcome.
It should include a mean to read the rule being reduced. If you take
a look at what Yaxx is doing, that's exactly the same need. I also
remember that once Greg McGary had similar needs to improve the way
trace (YYDEBUG) were issued for his specific job.
Also, I'm trying to stop using this CPP syntax, and rather use new
Bison directive. So I would like to propose something more like a
%prereduce, %postreduce.