lua

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

commit f32a8c04772bf9d78dbdc920cfad148deff08fab
parent 88607acc2c41c2bace172b78012d2ce9abf05766
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 26 Jun 2002 13:37:17 -0300

details (temporary?)

Diffstat:
Mlua.c | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lua.c b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.92 2002/06/18 17:43:49 roberto Exp roberto $ +** $Id: lua.c,v 1.93 2002/06/20 20:40:09 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -312,11 +312,8 @@ static int handle_argv (char *argv[], int *toclose) { print_usage(); return EXIT_FAILURE; } - if (dostring(chunk, "=prog. argument") != 0) { - fprintf(stderr, "%s: error running argument `%.99s'\n", - progname, chunk); + if (dostring(chunk, "=command line") != 0) return EXIT_FAILURE; - } break; } case 'f': {