diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-21 17:00:46 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-21 17:00:46 -0200 |
| commit | accd7bc25355be4350db6d117515c672121a67f2 (patch) | |
| tree | e351b89ca86b67a3c60874c230626a13517524b8 /lua.c | |
| parent | 6153200bc25bd99f9d3d25d7caa486b03b6535d5 (diff) | |
| download | lua-accd7bc25355be4350db6d117515c672121a67f2.tar.gz lua-accd7bc25355be4350db6d117515c672121a67f2.tar.bz2 lua-accd7bc25355be4350db6d117515c672121a67f2.zip | |
small modifications (format, small optimizations, etc)
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 "); |
