aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-20 09:54:17 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-20 09:54:17 -0300
commit72b12e095674fade39fb6e50fdd880176c38d2d9 (patch)
tree4643b4dbc4b564ca7547d915ae97fdd21faf956d /lbaselib.c
parent5ed3bcd4ea5ae3066f61c1a7a3e31a0b2512f5ba (diff)
downloadlua-72b12e095674fade39fb6e50fdd880176c38d2d9.tar.gz
lua-72b12e095674fade39fb6e50fdd880176c38d2d9.tar.bz2
lua-72b12e095674fade39fb6e50fdd880176c38d2d9.zip
error messages in lower case.
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 56f927e5..ee102e36 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.4 2000/09/13 19:52:39 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.5 2000/09/14 14:09:31 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -224,7 +224,7 @@ static int luaB_next (lua_State *L) {
224 224
225static int passresults (lua_State *L, int status, int oldtop) { 225static int passresults (lua_State *L, int status, int oldtop) {
226 static const char *const errornames[] = 226 static const char *const errornames[] =
227 {"OK", "RUN-TIME ERROR", "FILE ERROR", "SYNTAX ERROR", "MEMORY ERROR"}; 227 {"ok", "run-time error", "file error", "syntax error", "memory error"};
228 if (status == 0) { 228 if (status == 0) {
229 int nresults = lua_gettop(L) - oldtop; 229 int nresults = lua_gettop(L) - oldtop;
230 if (nresults > 0) 230 if (nresults > 0)