You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly this shortcoming arises from eLua being forked off Lua before support for labels was added?
I'm thinking of script like:
::mylabel::
...
goto mylabel
Yes it's not great coding practice, but can still be a useful technique when auto-generating Lua script to deliver some higher level application functionality.
The text was updated successfully, but these errors were encountered:
In llex.h/c, noting that TK_DBCOLON is not in eLua. It looks reasonably straightforward to add it in to the parser, but is there an plan to merge the latest language features that would make this piecemeal action unnecessary?
EDIT - Not so straightforward it seems...
Lua's goto was added in version 5.2. Adding support for it is a bit more involved than just modifying the parser, as you already pointed out. eLua is based on Lua 5.1 and there are currently no plans to use another version of Lua.
Possibly this shortcoming arises from eLua being forked off Lua before support for labels was added?
I'm thinking of script like:
Yes it's not great coding practice, but can still be a useful technique when auto-generating Lua script to deliver some higher level application functionality.
The text was updated successfully, but these errors were encountered: