summaryrefslogtreecommitdiff
path: root/src/parser/parser_builder.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-04-29 17:57:17 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-04-29 19:54:13 -0400
commit03c1daa126ecd86d1434c7512b73723687ea8ca0 (patch)
tree5c9f3fa488b6a8c63237ccc90598feb6265b14ab /src/parser/parser_builder.h
parent138259870f2eb506ba8f9b57cf9f44db440e6940 (diff)
Fix for --force-logic to extend its reach to the parser.
Diffstat (limited to 'src/parser/parser_builder.h')
-rw-r--r--src/parser/parser_builder.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parser/parser_builder.h b/src/parser/parser_builder.h
index b6e15b2ff..96590eb3e 100644
--- a/src/parser/parser_builder.h
+++ b/src/parser/parser_builder.h
@@ -80,6 +80,12 @@ class CVC4_PUBLIC ParserBuilder {
/** Are we parsing only? */
bool d_parseOnly;
+ /** Is the logic forced by the user? */
+ bool d_logicIsForced;
+
+ /** The forced logic name */
+ std::string d_forcedLogic;
+
/** Initialize this parser builder */
void init(ExprManager* exprManager, const std::string& filename);
@@ -164,6 +170,9 @@ public:
/** Set the parser to use the given string for its input. */
ParserBuilder& withStringInput(const std::string& input);
+
+ /** Set the parser to use the given logic string. */
+ ParserBuilder& withForcedLogic(const std::string& logic);
};/* class ParserBuilder */
}/* CVC4::parser namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback