mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
small modifications (format, small optimizations, etc)
This commit is contained in:
parent
6153200bc2
commit
accd7bc253
13 changed files with 301 additions and 295 deletions
4
lua.c
4
lua.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lua.c,v 1.3 1997/10/16 18:35:59 roberto Exp roberto $
|
||||
** $Id: lua.c,v 1.4 1997/11/19 17:29:23 roberto Exp roberto $
|
||||
** Lua stand-alone interpreter
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -72,7 +72,7 @@ int main (int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
else {
|
||||
int result = lua_dofile (argv[i]);
|
||||
int result = lua_dofile(argv[i]);
|
||||
if (result) {
|
||||
if (result == 2) {
|
||||
fprintf(stderr, "lua: cannot execute file ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue