lua-users home
lua-l archive

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


On Tue, Sep 2, 2014 at 8:13 PM, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> To be honest, I'm a little confused about exactly how Lua's grammar
> works. A big part of this is because I recently heard (on this mailing
> list?) that Section 9 of the Manual ("The Complete Syntax of Lua") is
> not strictly accurate but more of a general idea.

It may have (unreported) errors, but it is intended to be accurate.

The grammar ​doesn't restrict break statements to loop blocks.​

—Pierre-Yves