CYUTF8String CYPoolCode(CYPool &pool, std::istream &stream) {
CYLocalPool local;
- CYDriver driver(stream);
+ CYDriver driver(local, stream);
cy::parser parser(driver);
_assert(parser.parse() == 0);
return pool;
}
-void CYThrow(const char *format, ...) {
+_visible void CYThrow(const char *format, ...) {
va_list args;
va_start(args, format);
throw CYPoolError(format, args);