aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ltests.c b/ltests.c
index 8191f14a..3edf805e 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1900,6 +1900,10 @@ static struct X { int x; } x;
1900 else if EQ("closeslot") { 1900 else if EQ("closeslot") {
1901 lua_closeslot(L1, getnum); 1901 lua_closeslot(L1, getnum);
1902 } 1902 }
1903 else if EQ("argerror") {
1904 int arg = getnum;
1905 luaL_argerror(L1, arg, getstring);
1906 }
1903 else luaL_error(L, "unknown instruction %s", buff); 1907 else luaL_error(L, "unknown instruction %s", buff);
1904 } 1908 }
1905 return 0; 1909 return 0;