On 11 Jan 2009, at 18:37, Ilyes Gouta wrote:
Then the parse tree of those before will be constructed before
those latter.
In your example, item_declaration will be constructed before
item_list, so
one can have actions
item_declaration {...} item_list {...}
Here, the first action {...} can on
Hi Hans,
item_list:
>> | item_declaration item_list
>> ;
>>
>
> But sometimes one can do a trick by combining non-terminals into one rule.
> Then the parse tree of those before will be constructed before those latter.
> In your example, item_declaration will be constructed before item_list, so
>