diff options
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.3 1997/10/16 18:35:59 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.4 1997/11/19 17:29:23 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 | */ |
| @@ -72,7 +72,7 @@ int main (int argc, char *argv[]) | |||
| 72 | } | 72 | } |
| 73 | } | 73 | } |
| 74 | else { | 74 | else { |
| 75 | int result = lua_dofile (argv[i]); | 75 | int result = lua_dofile(argv[i]); |
| 76 | if (result) { | 76 | if (result) { |
| 77 | if (result == 2) { | 77 | if (result == 2) { |
| 78 | fprintf(stderr, "lua: cannot execute file "); | 78 | fprintf(stderr, "lua: cannot execute file "); |
