lua-users home
lua-l archive

Re: the break and return limitation

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


Le 18 Sep 2006 à 10:26, jason zhang a écrit :
Hi,
Could anyone explain why the break and retuan must appear as the last statement of a block?
This is really a unconvenient feature. Is it a special design?
No, it's just the way the syntax is. It's probably because a top- down recursive descent parser is used.
drj

AltStyle によって変換されたページ (->オリジナル) /