+bool CYDriver::Parse() {
+ CYLocal<CYPool> local(&pool_);
+ cy::parser parser(*this);
+#ifdef YYDEBUG
+ parser.set_debug_level(debug_);
+#endif
+ return parser.parse() != 0;
+}
+
+void CYDriver::Replace(CYOptions &options) {
+ CYLocal<CYPool> local(&pool_);
+ CYContext context(options);
+ program_->Replace(context);
+}
+