diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-27 11:04:53 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-27 11:04:53 -0200 |
commit | 5b08fcd5a1392a7440cae91e68f350a44b136806 (patch) | |
tree | 01c8b8b37fbbb1b845e3a87b04afc93145f875d4 /liolib.c | |
parent | b1b0c219f5255a0cd0921ebc0a77a81f99b72532 (diff) | |
download | lua-5b08fcd5a1392a7440cae91e68f350a44b136806.tar.gz lua-5b08fcd5a1392a7440cae91e68f350a44b136806.tar.bz2 lua-5b08fcd5a1392a7440cae91e68f350a44b136806.zip |
no more "lua" in error messages
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 1.51 1999/11/22 13:12:07 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 1.52 1999/11/22 17:39:51 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -533,7 +533,7 @@ static void errorfb (lua_State *L) { | |||
533 | char buff[MAXMESSAGE]; | 533 | char buff[MAXMESSAGE]; |
534 | int level = 1; /* skip level 0 (it's this function) */ | 534 | int level = 1; /* skip level 0 (it's this function) */ |
535 | lua_Object func; | 535 | lua_Object func; |
536 | sprintf(buff, "lua error: %.200s\n", lua_getstring(L, lua_getparam(L, 1))); | 536 | sprintf(buff, "error: %.200s\n", lua_getstring(L, lua_getparam(L, 1))); |
537 | while ((func = lua_stackedfunction(L, level++)) != LUA_NOOBJECT) { | 537 | while ((func = lua_stackedfunction(L, level++)) != LUA_NOOBJECT) { |
538 | const char *name; | 538 | const char *name; |
539 | int currentline; | 539 | int currentline; |