mirror of
https://github.com/Reuh/candran.git
synced 2025-10-27 17:59:30 +00:00
Added safe operators, if/while with assignement, method stubs
This commit is contained in:
parent
6be81267d2
commit
851e9f89d6
11 changed files with 3688 additions and 2845 deletions
|
|
@ -1,3 +1,5 @@
|
|||
targetName = "Lua 5.1"
|
||||
|
||||
states.continue = {} -- when in a loop that use continue
|
||||
|
||||
CONTINUE_START = ()
|
||||
|
|
@ -19,12 +21,9 @@ 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
|
||||
-- Unsuported features
|
||||
tags.Goto = nil
|
||||
tags.Label = nil
|
||||
|
||||
#local patch = output
|
||||
#output = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue