diff options
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.c,v 1.99 2002/08/06 18:01:50 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.100 2002/08/07 20:54:17 roberto Exp roberto $ |
3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -91,7 +91,7 @@ static void report (int status) { | |||
91 | const char *msg; | 91 | const char *msg; |
92 | if (status) { | 92 | if (status) { |
93 | msg = lua_tostring(L, -1); | 93 | msg = lua_tostring(L, -1); |
94 | if (msg == NULL) msg = "(no message)"; | 94 | if (msg == NULL) msg = "(error with no message)"; |
95 | l_message(progname, msg); | 95 | l_message(progname, msg); |
96 | lua_pop(L, 1); | 96 | lua_pop(L, 1); |
97 | } | 97 | } |