From 72b12e095674fade39fb6e50fdd880176c38d2d9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 20 Sep 2000 09:54:17 -0300 Subject: error messages in lower case. --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 56f927e5..ee102e36 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.4 2000/09/13 19:52:39 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.5 2000/09/14 14:09:31 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -224,7 +224,7 @@ static int luaB_next (lua_State *L) { static int passresults (lua_State *L, int status, int oldtop) { static const char *const errornames[] = - {"OK", "RUN-TIME ERROR", "FILE ERROR", "SYNTAX ERROR", "MEMORY ERROR"}; + {"ok", "run-time error", "file error", "syntax error", "memory error"}; if (status == 0) { int nresults = lua_gettop(L) - oldtop; if (nresults > 0) -- cgit v1.2.3-55-g6feb