lua-users home
lua-l archive

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


>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