[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proposal: simplify prologue alternatives into %code

From: Paolo Bonzini
Subject: Re: proposal: simplify prologue alternatives into %code
Date: Tue, 09 Jan 2007 14:57:38 +0100
User-agent: Thunderbird (Macintosh/20061207)

Joel E. Denny wrote:
On Thu, 4 Jan 2007, Paolo Bonzini wrote:

%union had an apparently useless mess to add the braces in parse-gram.y rather
than in the skeletons, and I got rid of it.

I agree. I took several parts of your proposed patch, and I committed the following. Thanks.

As the code is now, %{ ... %} and %code are different beasts, which are not kept together. That is, %{...%} ends up before "%code top" and %code blocks, rather than intermixed. This complicates the documentation quite a lot.

Are you going to keep this, or do you want to consolidate them together (as my patch did)?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]