[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Syntax in reference manual
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 26 Aug 2000 21:59:34 -0300
>The reference manual contains the syntax rule
>
> block ::= [label] { stat [';'] }
>
>while the parser itself contains (both implicitly and explicitly)
>
> block ::= chunk
The code is right ;-) and the manual is wrong.
This is a known bug int the manual which wil be fixed for 4.0b
> chunk ::= { [label] stat [';'] }
There will be no labels after all in 4.0.
>(Although it would be nice if it were possible to make
>a parser based solely on the information in the reference
>manual... :)
Yes, of course. The new manual will also contain a full BNF for Lua in a
single page, which should help too.
--lhf