mirror of https://github.com/rusefi/lua.git
detail
This commit is contained in:
parent
2c1eb62a08
commit
c36b5cc726
4
lua.c
4
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
|
** Lua stand-alone interpreter
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -142,7 +142,7 @@ static int file_input (const char *name) {
|
||||||
int result = ldo(lua_dofile, name, 1);
|
int result = ldo(lua_dofile, name, 1);
|
||||||
if (result) {
|
if (result) {
|
||||||
if (result == LUA_ERRFILE) {
|
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);
|
perror(name);
|
||||||
}
|
}
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
Loading…
Reference in New Issue