lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 39c0f391c6cc5d4cd59e000d52933a5cd7230d59
parent c7b4f447724a7bf64e9522aeaf461cab32a7d023
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 10 Aug 2005 15:46:47 -0300

detail

Diffstat:
Mlauxlib.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lauxlib.c b/lauxlib.c @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.c,v 1.141 2005/07/13 19:02:42 roberto Exp roberto $ +** $Id: lauxlib.c,v 1.142 2005/08/09 12:30:19 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -644,7 +644,7 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { static int panic (lua_State *L) { (void)L; /* to avoid warnings */ - fprintf(stderr, "PANIC: unprotected error during Lua-API call (%s)\n", + fprintf(stderr, "PANIC: unprotected error in call to Lua API (%s)\n", lua_tostring(L, -1)); return 0; }