lua-users home
lua-l archive

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

>5. What are the "syntactic reasons" for forcing break and return to occur at
>the end of a block? (Sorry if this was already answered, but I couldn't find
>it; a message number would suffice!)

One reason is that semicollons are optional and thus render code such as
ambiguous, because it is parsed as "return a()".