diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-08 17:08:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-08 17:08:41 -0300 |
commit | 586e510577aac83ab1a94e6da9b7760389d3a7f1 (patch) | |
tree | 270cb08cf75090e77ec959fc89d1c4d21e85b6f2 | |
parent | 9998082839bfffe01d7b614ab61ad35629a2c356 (diff) | |
download | lua-586e510577aac83ab1a94e6da9b7760389d3a7f1.tar.gz lua-586e510577aac83ab1a94e6da9b7760389d3a7f1.tar.bz2 lua-586e510577aac83ab1a94e6da9b7760389d3a7f1.zip |
details
-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 | } |