diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-16 16:35:59 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-16 16:35:59 -0200 |
commit | 19c178fa14b7b641637c7be480394ab511a16a13 (patch) | |
tree | f763c1725c9aa347bcccdec614c93f7a7b645c89 /lua.c | |
parent | 45ccb0e881064492a3f422b15b50dad71eed36fa (diff) | |
download | lua-19c178fa14b7b641637c7be480394ab511a16a13.tar.gz lua-19c178fa14b7b641637c7be480394ab511a16a13.tar.bz2 lua-19c178fa14b7b641637c7be480394ab511a16a13.zip |
new (smaller) prompt
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.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(); |