lua-users home
lua-l archive

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


Em ter., 26 de mai. de 2020 às 00:58, Andrew Gierth <andrew@tao11.riddles.org.uk> escreveu:
>>>>> "Ranier" == Ranier Vilela <ranier.vf@gmail.com> writes:

 Ranier> else {  /* step < 0; descending loop */

 Ranier> var step here can be equal zero.

Can it?

Look up about 12 lines, and you'll see that the case of step==0 has
already been handled.

Now, it might not be obvious (even to the compiler or to static analysis
tools) that luaG_runerror does not return...
Urgh. True.

Please disregard this entire patch.

regards,
Ranier Vilela