aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiser.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-02-17 08:13:27 +0000
committerbloodstalker <thabogre@gmail.com>2018-02-17 08:13:27 +0000
commit8bff748dd325ff45375e6f5948368e1ee024d411 (patch)
tree716f9686867b6a73eec43e9f4103a9f1c6c45079 /bruiser/bruiser.cpp
parenttravis fix (diff)
downloadmutator-8bff748dd325ff45375e6f5948368e1ee024d411.tar.gz
mutator-8bff748dd325ff45375e6f5948368e1ee024d411.zip
trying to implement the nested call and global object rewriters
Diffstat (limited to '')
-rw-r--r--bruiser/bruiser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bruiser/bruiser.cpp b/bruiser/bruiser.cpp
index 053bffc..936bd83 100644
--- a/bruiser/bruiser.cpp
+++ b/bruiser/bruiser.cpp
@@ -1392,9 +1392,9 @@ class LuaWrapper
PRINT_WITH_COLOR_LB(RED, "cant grow lua stack. current size is too small.");
}
for (auto& iter : xlist) {
- std::cout << CYAN << iter.second << NORMAL;
+ if (Verbose) std::cout << CYAN << iter.second << NORMAL;
lua_pushstring(__ls, iter.second.c_str());
- std::cout << " " << MAGENTA << (long int)iter.first << NORMAL <<"\n";
+ if (Verbose) std::cout << " " << MAGENTA << (long int)iter.first << NORMAL <<"\n";
lua_pushinteger(__ls, (long int)iter.first);
lua_settable(__ls, -3);
}