commit 9e7de9473c65baee1f567852a778f2d33a47ea83
parent 0c8f5fc2fdcadc8fe6e89c32bf3a1f7456328899
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Thu, 26 Jun 2008 16:47:28 -0300
message from -v option goes to stdout, as it is not an error message
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lua.c b/lua.c
@@ -1,5 +1,5 @@
/*
-** $Id: lua.c,v 1.168 2007/09/05 17:17:39 roberto Exp roberto $
+** $Id: lua.c,v 1.169 2008/06/26 19:40:12 roberto Exp roberto $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
@@ -102,7 +102,7 @@ static int docall (lua_State *L, int narg, int clear) {
static void print_version (void) {
- l_message(NULL, LUA_COPYRIGHT);
+ printf("%s\n", LUA_COPYRIGHT);
}