diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1572,6 +1572,9 @@ static int runC (lua_State *L, lua_State *L1, const char *pc) { | |||
1572 | else if EQ("error") { | 1572 | else if EQ("error") { |
1573 | lua_error(L1); | 1573 | lua_error(L1); |
1574 | } | 1574 | } |
1575 | else if EQ("abort") { | ||
1576 | abort(); | ||
1577 | } | ||
1575 | else if EQ("throw") { | 1578 | else if EQ("throw") { |
1576 | #if defined(__cplusplus) | 1579 | #if defined(__cplusplus) |
1577 | static struct X { int x; } x; | 1580 | static struct X { int x; } x; |