diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-10 15:47:09 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-10 15:47:09 -0300 |
commit | 39c0f391c6cc5d4cd59e000d52933a5cd7230d59 (patch) | |
tree | 6013b08379fca904e93e375d07003004e9d9e023 | |
parent | c7b4f447724a7bf64e9522aeaf461cab32a7d023 (diff) | |
download | lua-39c0f391c6cc5d4cd59e000d52933a5cd7230d59.tar.gz lua-39c0f391c6cc5d4cd59e000d52933a5cd7230d59.tar.bz2 lua-39c0f391c6cc5d4cd59e000d52933a5cd7230d59.zip |
detail
-rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.c,v 1.141 2005/07/13 19:02:42 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.142 2005/08/09 12:30:19 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -644,7 +644,7 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { | |||
644 | 644 | ||
645 | static int panic (lua_State *L) { | 645 | static int panic (lua_State *L) { |
646 | (void)L; /* to avoid warnings */ | 646 | (void)L; /* to avoid warnings */ |
647 | fprintf(stderr, "PANIC: unprotected error during Lua-API call (%s)\n", | 647 | fprintf(stderr, "PANIC: unprotected error in call to Lua API (%s)\n", |
648 | lua_tostring(L, -1)); | 648 | lua_tostring(L, -1)); |
649 | return 0; | 649 | return 0; |
650 | } | 650 | } |