/* }}} */
#include "cycript.hpp"
+#include "Context.hpp"
#ifdef CY_EXECUTE
#include "JavaScript.hpp"
void Setup(CYOutput &out, CYDriver &driver) {
out.pretty_ = pretty_;
- CYContext context(driver.pool_);
+ CYOptions options;
+ CYContext context(driver.pool_, options);
driver.program_->Replace(context);
}
code = command;
else {
std::ostringstream str;
- CYOutput out(str);
+ CYOptions options;
+ CYOutput out(str, options);
Setup(out, driver);
out << *driver.program_;
code = str.str();
Run(client, code, stdout);
} else {
std::ostringstream str;
- CYOutput out(str);
+ CYOptions options;
+ CYOutput out(str, options);
Setup(out, driver);
out << *driver.program_;
std::string code(str.str());