lua

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

commit 586e510577aac83ab1a94e6da9b7760389d3a7f1
parent 9998082839bfffe01d7b614ab61ad35629a2c356
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Thu,  8 Aug 2002 17:08:19 -0300

details

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

diff --git a/lua.c b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.99 2002/08/06 18:01:50 roberto Exp roberto $ +** $Id: lua.c,v 1.100 2002/08/07 20:54:17 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -91,7 +91,7 @@ static void report (int status) { const char *msg; if (status) { msg = lua_tostring(L, -1); - if (msg == NULL) msg = "(no message)"; + if (msg == NULL) msg = "(error with no message)"; l_message(progname, msg); lua_pop(L, 1); }