diff options
Diffstat (limited to 'examples/typedlua/test.lua')
-rwxr-xr-x | examples/typedlua/test.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/typedlua/test.lua b/examples/typedlua/test.lua index ffdbd70..aa78856 100755 --- a/examples/typedlua/test.lua +++ b/examples/typedlua/test.lua | |||
@@ -1757,7 +1757,7 @@ a = 3 / / 2 | |||
1757 | test.lua:1:9: syntax error, unexpected '/', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' | 1757 | test.lua:1:9: syntax error, unexpected '/', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' |
1758 | ]=] | 1758 | ]=] |
1759 | e = [=[ | 1759 | e = [=[ |
1760 | test.lua:1:9: unexpected '/', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' | 1760 | test.lua:1:9: malformed multiplication expression |
1761 | ]=] | 1761 | ]=] |
1762 | 1762 | ||
1763 | r, m = parse(s) | 1763 | r, m = parse(s) |
@@ -1772,7 +1772,7 @@ b = 1 && 1 | |||
1772 | test.lua:1:8: syntax error, unexpected '&', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' | 1772 | test.lua:1:8: syntax error, unexpected '&', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' |
1773 | ]=] | 1773 | ]=] |
1774 | e = [=[ | 1774 | e = [=[ |
1775 | test.lua:1:8: unexpected '&', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' | 1775 | test.lua:1:8: malformed '&' expression |
1776 | ]=] | 1776 | ]=] |
1777 | 1777 | ||
1778 | r, m = parse(s) | 1778 | r, m = parse(s) |
@@ -1785,7 +1785,7 @@ b = 1 <> 0 | |||
1785 | test.lua:1:8: syntax error, unexpected '>', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' | 1785 | test.lua:1:8: syntax error, unexpected '>', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' |
1786 | ]=] | 1786 | ]=] |
1787 | e = [=[ | 1787 | e = [=[ |
1788 | test.lua:1:8: unexpected '>', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' | 1788 | test.lua:1:8: malformed relational expression |
1789 | ]=] | 1789 | ]=] |
1790 | 1790 | ||
1791 | r, m = parse(s) | 1791 | r, m = parse(s) |
@@ -1798,7 +1798,7 @@ b = 1 < < 0 | |||
1798 | test.lua:1:9: syntax error, unexpected '<', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' | 1798 | test.lua:1:9: syntax error, unexpected '<', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' |
1799 | ]=] | 1799 | ]=] |
1800 | e = [=[ | 1800 | e = [=[ |
1801 | test.lua:1:9: unexpected '<', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' | 1801 | test.lua:1:9: malformed relational expression |
1802 | ]=] | 1802 | ]=] |
1803 | 1803 | ||
1804 | r, m = parse(s) | 1804 | r, m = parse(s) |
@@ -1973,7 +1973,7 @@ end | |||
1973 | test.lua:7:1: syntax error, unexpected 'end', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' | 1973 | test.lua:7:1: syntax error, unexpected 'end', expecting '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' |
1974 | ]=] | 1974 | ]=] |
1975 | e = [=[ | 1975 | e = [=[ |
1976 | test.lua:7:1: missing 'end' to close if statement | 1976 | test.lua:7:1: expecting <exp> after 'elseif' |
1977 | ]=] | 1977 | ]=] |
1978 | 1978 | ||
1979 | r, m = parse(s) | 1979 | r, m = parse(s) |