1
0
Fork 0
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:
Étienne Fildadut 2019-08-23 21:12:45 +02:00
parent 91948109ca
commit 7df95abc6d
3 changed files with 26 additions and 13 deletions

View file

@ -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 })