diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -411,10 +411,10 @@ LUA_API void lua_close (lua_State *L) { | |||
411 | } | 411 | } |
412 | 412 | ||
413 | 413 | ||
414 | void luaE_warning (lua_State *L, const char *msg) { | 414 | void luaE_warning (lua_State *L, const char *msg, int tocont) { |
415 | lua_WarnFunction wf = G(L)->warnf; | 415 | lua_WarnFunction wf = G(L)->warnf; |
416 | if (wf != NULL) | 416 | if (wf != NULL) |
417 | wf(&G(L)->ud_warn, msg); | 417 | wf(G(L)->ud_warn, msg, tocont); |
418 | } | 418 | } |
419 | 419 | ||
420 | 420 | ||