From 5b08fcd5a1392a7440cae91e68f350a44b136806 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 27 Dec 1999 11:04:53 -0200 Subject: no more "lua" in error messages --- lbuiltin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbuiltin.c') diff --git a/lbuiltin.c b/lbuiltin.c index bd8647e8..51bea491 100644 --- a/lbuiltin.c +++ b/lbuiltin.c @@ -1,5 +1,5 @@ /* -** $Id: lbuiltin.c,v 1.86 1999/12/20 13:10:38 roberto Exp roberto $ +** $Id: lbuiltin.c,v 1.87 1999/12/23 18:19:57 roberto Exp roberto $ ** Built-in functions ** See Copyright Notice in lua.h */ @@ -107,7 +107,7 @@ void luaB_ERRORMESSAGE (lua_State *L) { lua_Object al = lua_rawgetglobal(L, "_ALERT"); if (lua_isfunction(L, al)) { /* avoid error loop if _ALERT is not defined */ char buff[600]; - sprintf(buff, "lua error: %.500s\n", luaL_check_string(L, 1)); + sprintf(buff, "error: %.500s\n", luaL_check_string(L, 1)); lua_pushstring(L, buff); lua_callfunction(L, al); } -- cgit v1.2.3-55-g6feb