lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 445eda7ead2e9800e3928acfd902f61968aaca11
parent 092dc95b06ee71f99f134727862a3a0d5783d9e5
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 30 Mar 2005 16:50:07 -0300

details

Diffstat:
Mloadlib.c | 5++---
Mlua.c | 4++--
2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/loadlib.c b/loadlib.c @@ -1,5 +1,5 @@ /* -** $Id: loadlib.c,v 1.23 2005/03/29 14:30:16 roberto Exp roberto $ +** $Id: loadlib.c,v 1.24 2005/03/29 16:20:48 roberto Exp roberto $ ** Dynamic library loader for Lua ** See Copyright Notice in lua.h ** @@ -213,8 +213,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { #if defined(__ELF__) || defined(__sun) || defined(sgi) || defined(__hpux) -#define DLMSG "your system was not properly installed, " \ - "so it cannot run `loadlib'; check your installation" +#define DLMSG "`loadlib' not enabled; check your Lua installation" #else #define DLMSG "`loadlib' not supported" #endif diff --git a/lua.c b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.138 2005/03/23 17:50:49 roberto Exp roberto $ +** $Id: lua.c,v 1.139 2005/03/29 16:47:48 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -48,7 +48,7 @@ static void print_usage (void) { " -i enter interactive mode after executing `script'\n" " -l name require library `name'\n" " -v show version information\n" - " -w control access to undefined globals\n" + " -w trap access to undefined globals\n" " -- stop handling options\n" , progname); }