aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-16 16:35:59 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-16 16:35:59 -0200
commit19c178fa14b7b641637c7be480394ab511a16a13 (patch)
treef763c1725c9aa347bcccdec614c93f7a7b645c89 /lua.c
parent45ccb0e881064492a3f422b15b50dad71eed36fa (diff)
downloadlua-19c178fa14b7b641637c7be480394ab511a16a13.tar.gz
lua-19c178fa14b7b641637c7be480394ab511a16a13.tar.bz2
lua-19c178fa14b7b641637c7be480394ab511a16a13.zip
new (smaller) prompt
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.c b/lua.c
index 026b0b70..ce3b4ec7 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.c,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ 2** $Id: lua.c,v 1.2 1997/10/06 14:51:32 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*/
@@ -52,7 +52,7 @@ int main (int argc, char *argv[])
52 lua_iolibopen(); 52 lua_iolibopen();
53 lua_strlibopen(); 53 lua_strlibopen();
54 lua_mathlibopen(); 54 lua_mathlibopen();
55 lua_pushstring("Lua> "); lua_setglobal("_PROMPT"); 55 lua_pushstring("> "); lua_setglobal("_PROMPT");
56 if (argc < 2) { 56 if (argc < 2) {
57 printf("%s %s\n", LUA_VERSION, LUA_COPYRIGHT); 57 printf("%s %s\n", LUA_VERSION, LUA_COPYRIGHT);
58 manual_input(); 58 manual_input();