Mercurial Hosting > luan
diff core/src/luan/cmd_line.luan @ 322:f8ece87df2b1
minor fixes
git-svn-id: https://luan-java.googlecode.com/svn/trunk@323 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Sun, 08 Feb 2015 22:03:27 +0000 |
parents | 7f7708e8fdd4 |
children | cd2924a1052c |
line wrap: on
line diff
--- a/core/src/luan/cmd_line.luan Sun Feb 08 07:26:20 2015 +0000 +++ b/core/src/luan/cmd_line.luan Sun Feb 08 22:03:27 2015 +0000 @@ -5,6 +5,7 @@ require "luan:String" -- for String methods local Table = require "luan:Table" local Io = require "luan:Io" +local print = Io.print local Debug = require "luan:Debug" @@ -64,7 +65,7 @@ i = i + 1 end end -if showVersion then print(_VERSION) end +if showVersion then print(Luan.VERSION) end if i <= #args then local file = args[i] local arg = {}