mirror of
https://github.com/Reuh/candran.git
synced 2025-10-27 17:59:30 +00:00
Fixed using return at the end of a loop that use continue
This commit is contained in:
parent
91948109ca
commit
7df95abc6d
3 changed files with 26 additions and 13 deletions
|
|
@ -19,6 +19,13 @@ tags.Break = ()
|
|||
end
|
||||
end
|
||||
|
||||
tags.Goto = ()
|
||||
error("Lua 5.1 does not support the goto keyword")
|
||||
end
|
||||
tags.Label = ()
|
||||
error("Lua 5.1 does not support labels")
|
||||
end
|
||||
|
||||
#local patch = output
|
||||
#output = ""
|
||||
#import("compiler.luajit", { patch = patch, loadPackage = false })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue