lua

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

commit c36b5cc726dc5443d78b59c4ef1be2a41e08de59
parent 2c1eb62a0815cd3946902e011747c3724e45b3e8
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri, 15 Feb 2002 13:14:48 -0200

detail

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

diff --git a/lua.c b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.76 2002/02/14 21:47:50 roberto Exp roberto $ +** $Id: lua.c,v 1.77 2002/02/14 22:23:43 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -142,7 +142,7 @@ static int file_input (const char *name) { int result = ldo(lua_dofile, name, 1); if (result) { if (result == LUA_ERRFILE) { - fprintf(stderr, "%s%s\n", LUA_PROGNAME, luaL_errstr(result)); + fprintf(stderr, "%s%s ", LUA_PROGNAME, luaL_errstr(result)); perror(name); } return EXIT_FAILURE;