diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-15 13:15:10 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-15 13:15:10 -0200 |
commit | c36b5cc726dc5443d78b59c4ef1be2a41e08de59 (patch) | |
tree | 248811a1bb483ce962654f605940e637876eae2d /lua.c | |
parent | 2c1eb62a0815cd3946902e011747c3724e45b3e8 (diff) | |
download | lua-c36b5cc726dc5443d78b59c4ef1be2a41e08de59.tar.gz lua-c36b5cc726dc5443d78b59c4ef1be2a41e08de59.tar.bz2 lua-c36b5cc726dc5443d78b59c4ef1be2a41e08de59.zip |
detail
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.c,v 1.76 2002/02/14 21:47:50 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.77 2002/02/14 22:23:43 roberto Exp roberto $ |
3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -142,7 +142,7 @@ static int file_input (const char *name) { | |||
142 | int result = ldo(lua_dofile, name, 1); | 142 | int result = ldo(lua_dofile, name, 1); |
143 | if (result) { | 143 | if (result) { |
144 | if (result == LUA_ERRFILE) { | 144 | if (result == LUA_ERRFILE) { |
145 | fprintf(stderr, "%s%s\n", LUA_PROGNAME, luaL_errstr(result)); | 145 | fprintf(stderr, "%s%s ", LUA_PROGNAME, luaL_errstr(result)); |
146 | perror(name); | 146 | perror(name); |
147 | } | 147 | } |
148 | return EXIT_FAILURE; | 148 | return EXIT_FAILURE; |