]> git.saurik.com Git - cycript.git/blobdiff - Handler.mm
Optimized the variable renamer to rename more variables to 'a'.
[cycript.git] / Handler.mm
index 40b79f8ec20801e056ee6efd5dab7188d016ff6c..4e4ccfeb2e4011960c6a1d625956f751ac34cf97 100644 (file)
@@ -42,7 +42,6 @@
 
 #include "Pooling.hpp"
 #include "Parser.hpp"
-#include "Context.hpp"
 
 #include "Cycript.tab.hh"
 
@@ -131,10 +130,11 @@ struct CYClient :
             } else {
                 NSAutoreleasePool *ar = [[NSAutoreleasePool alloc] init];
 
-                CYContext context(driver.pool_);
+                CYOptions options;
+                CYContext context(driver.pool_, options);
                 driver.program_->Replace(context);
                 std::ostringstream str;
-                CYOutput out(str);
+                CYOutput out(str, options);
                 out << *driver.program_;
                 std::string code(str.str());
                 CYExecute_ execute = {pool, code.c_str()};