diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1208,7 +1208,7 @@ static int getindex_aux (lua_State *L, lua_State *L1, const char **pc) { | |||
1208 | 1208 | ||
1209 | static void pushcode (lua_State *L, int code) { | 1209 | static void pushcode (lua_State *L, int code) { |
1210 | static const char *const codes[] = {"OK", "YIELD", "ERRRUN", | 1210 | static const char *const codes[] = {"OK", "YIELD", "ERRRUN", |
1211 | "ERRSYNTAX", "ERRMEM", "ERRGCMM", "ERRERR"}; | 1211 | "ERRSYNTAX", MEMERRMSG, "ERRGCMM", "ERRERR"}; |
1212 | lua_pushstring(L, codes[code]); | 1212 | lua_pushstring(L, codes[code]); |
1213 | } | 1213 | } |
1214 | 1214 | ||