#include "Error.hpp"
#include "String.hpp"
+#include "Execute.hpp"
/* C Strings {{{ */
template <typename Type_>
}
extern "C" void CydgetPoolParse(apr_pool_t *pool, const uint16_t **data, size_t *size) {
- CYDriver driver("");
+ CYDriver driver;
cy::parser parser(driver);
CYUTF8String utf8(CYPoolUTF8String(pool, CYUTF16String(*data, *size)));
if (parser.parse() != 0 || !driver.errors_.empty())
return;
- 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());