summaryrefslogtreecommitdiff
path: root/src/parser/parser.cpp
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-02-18 23:24:26 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-02-18 23:24:26 +0000
commit9f8f4ae9ef9d9d79973b77b6c61af4c5db034841 (patch)
treec9f2159ab870534a2cd0d887944c84d00da9b2a4 /src/parser/parser.cpp
parenta377bee55e41ba9ceef3380742e536545299181c (diff)
Adding --no-checking option to disable semantic checks in parser
Diffstat (limited to 'src/parser/parser.cpp')
-rw-r--r--src/parser/parser.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parser/parser.cpp b/src/parser/parser.cpp
index ef23d3883..b9e2d576e 100644
--- a/src/parser/parser.cpp
+++ b/src/parser/parser.cpp
@@ -132,5 +132,14 @@ Parser* Parser::getNewParser(ExprManager* em, InputLanguage lang,
return getNewParser(em, lang, &input, "", false);
}
+void Parser::disableChecks() {
+ d_antlrParser->disableChecks();
+}
+
+void Parser::enableChecks() {
+ d_antlrParser->enableChecks();
+}
+
+
}/* CVC4::parser namespace */
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback