This commit is contained in:
Roberto Ierusalimschy 1999-01-26 09:50:58 -02:00
parent fd7d0774e5
commit 2431534f10
1 changed files with 2 additions and 2 deletions

4
lua.c
View File

@ -1,5 +1,5 @@
/*
** $Id: lua.c,v 1.16 1999/01/06 13:12:41 roberto Exp roberto $
** $Id: lua.c,v 1.17 1999/01/08 16:47:44 roberto Exp roberto $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
@ -133,8 +133,8 @@ int main (int argc, char *argv[])
int i;
lua_open();
lua_pushstring("> "); lua_setglobal("_PROMPT");
lua_userinit();
setlocale(LC_ALL, "");
lua_userinit();
if (argc < 2) { /* no arguments? */
if (isatty(0)) {
printf("%s %s\n", LUA_VERSION, LUA_COPYRIGHT);