aboutsummaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'liolib.c')
-rw-r--r--liolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liolib.c b/liolib.c
index e2bac28c..a99820f6 100644
--- a/liolib.c
+++ b/liolib.c
@@ -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;