empty statement feature

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

empty statement feature

Albert Chan
I come across an old thread, Why not semicolon after "function()" ?

https://marc.info/?l=lua-l&m=113878333629740&w=2

it say that lua does not allow empty statement.

When did the changes (allowing ;;) occurred ?

Why the changes to allow it ?
Reply | Threaded
Open this post in threaded view
|

Re: empty statement feature

Luiz Henrique de Figueiredo
> it say that lua does not allow empty statement.

It did not in Lua 5.1 but it does since 5.2.