diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-06-26 16:47:51 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-06-26 16:47:51 -0300 |
commit | 9e7de9473c65baee1f567852a778f2d33a47ea83 (patch) | |
tree | fd14439c25a388da61f1a15de7ee6a44395102ff | |
parent | 0c8f5fc2fdcadc8fe6e89c32bf3a1f7456328899 (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
104 | static void print_version (void) { | 104 | static void print_version (void) { |
105 | l_message(NULL, LUA_COPYRIGHT); | 105 | printf("%s\n", LUA_COPYRIGHT); |
106 | } | 106 | } |
107 | 107 | ||
108 | 108 | ||