aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-06-26 16:47:51 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-06-26 16:47:51 -0300
commit9e7de9473c65baee1f567852a778f2d33a47ea83 (patch)
treefd14439c25a388da61f1a15de7ee6a44395102ff
parent0c8f5fc2fdcadc8fe6e89c32bf3a1f7456328899 (diff)
downloadlua-9e7de9473c65baee1f567852a778f2d33a47ea83.tar.gz
lua-9e7de9473c65baee1f567852a778f2d33a47ea83.tar.bz2
lua-9e7de9473c65baee1f567852a778f2d33a47ea83.zip
message from -v option goes to stdout, as it is not an error message
-rw-r--r--lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.c b/lua.c
index b0d73a13..26453412 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.c,v 1.168 2007/09/05 17:17:39 roberto Exp roberto $ 2** $Id: lua.c,v 1.169 2008/06/26 19:40:12 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*/
@@ -102,7 +102,7 @@ static int docall (lua_State *L, int narg, int clear) {
102 102
103 103
104static void print_version (void) { 104static void print_version (void) {
105 l_message(NULL, LUA_COPYRIGHT); 105 printf("%s\n", LUA_COPYRIGHT);
106} 106}
107 107
108 108