aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/demo1.lua
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/lua-scripts/demo1.lua
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/lua-scripts/demo1.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/bruiser/lua-scripts/demo1.lua b/bruiser/lua-scripts/demo1.lua
index 6645098..efbc7c5 100644
--- a/bruiser/lua-scripts/demo1.lua
+++ b/bruiser/lua-scripts/demo1.lua
@@ -192,6 +192,9 @@ function main()
--print("xcall returned:",a)
--if a ~= 100 then print("test failed") end
+ a = xobjlist()
+ print("the offset of quad and add2 is : ", a["quad"] - a["add2"])
+
end
main()