aboutsummaryrefslogtreecommitdiff
path: root/examples/typedlua/tlerror.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/typedlua/tlerror.lua')
-rw-r--r--examples/typedlua/tlerror.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/typedlua/tlerror.lua b/examples/typedlua/tlerror.lua
index fe3a72e..6881b6b 100644
--- a/examples/typedlua/tlerror.lua
+++ b/examples/typedlua/tlerror.lua
@@ -8,6 +8,7 @@ new_error("Number", "malformed <number>")
8new_error("String", "malformed <string>") 8new_error("String", "malformed <string>")
9new_error("LongString", "unfinished long string") 9new_error("LongString", "unfinished long string")
10new_error("LongComment", "unfinished long comment") 10new_error("LongComment", "unfinished long comment")
11new_error("MissingOP", "missing '('")
11new_error("MissingCP", "missing ')'") 12new_error("MissingCP", "missing ')'")
12new_error("MissingCC", "missing '}'") 13new_error("MissingCC", "missing '}'")
13new_error("MissingCB", "missing ']'") 14new_error("MissingCB", "missing ']'")
@@ -35,6 +36,8 @@ new_error("MethodCall", "expecting '(' for method call")
35new_error("Label1", "expecting <name> after '::'") 36new_error("Label1", "expecting <name> after '::'")
36new_error("Label2", "expecting '::' to close label declaration") 37new_error("Label2", "expecting '::' to close label declaration")
37new_error("LocalAssign", "expecting expression list after '='") 38new_error("LocalAssign", "expecting expression list after '='")
39new_error("ForGen", "expecting 'in'")
40new_error("LocalFunc", "expecting <name> in local function declaration")
38 41
39local labels = {} 42local labels = {}
40for k, v in ipairs(errors) do 43for k, v in ipairs(errors) do