[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Odd production in grammar
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 24 Oct 2000 16:06:41 -0200 (EDT)
>What's the point of the production:
>
>exp1 -> exp
>
>? It looks like a trick, but the obvious trick that grammars play (getting
>rid of left recursion) doesn't apply.
The manual says:
The non-terminal exp1 is used to indicate that the values
returned by an expression must be adjusted to one single value.
--lhf