diff options
author | Clement Farabet <clement.farabet@gmail.com> | 2011-09-01 20:03:07 +0400 |
---|---|---|
committer | Clement Farabet <clement.farabet@gmail.com> | 2011-09-01 20:03:07 +0400 |
commit | 1271c527acb8f9e3efee500faa550432178df7ce (patch) | |
tree | 7e3b4dac2f046a0dff6158ab4374bdcfa0b3849f | |
parent | fa7a3ca187bb90052f2411ce3f1761c69c7f3906 (diff) |
Removed default print overload.
-rw-r--r-- | xlua.lua | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -38,10 +38,6 @@ require 'sys' require 'io' require 'math' --- new prompt -_G._PROMPT = 'xLua > ' -_G._PROMPT2 = ' ... > ' - -- remember startup variables (to protect them) _G._protect_ = {'_protect_','xlua'} for k,v in pairs(_G) do @@ -112,8 +108,7 @@ print = function(obj,...) glob.io.write('\n') end end -glob._print = glob.print -glob.print = print +glob.xprint = print ---------------------------------------------------------------------- -- clear all globals |