lua-users home
lua-l archive

Bug?

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


This may be just a demonstration of my ignorance... But
is it correct that the end of "for" loops is checked with
 check_END(ls, TK_WHILE, line);
in the parser, just like the "while" loops? Without having
fully understood the fode for check_match, it would
seem more intuitive to me with
 check_END(ls, TK_FOR, line);
...
--
 Magnus Lie Hetland (magnus at hetland dot org)
 "Reality is what refuses to disappear when you stop
 believing in it" -- Philip K. Dick

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