projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5df7d23
)
Expanded usefulness of (set-info :cvc4-logic ...)
author
Morgan Deters
<mdeters@cs.nyu.edu>
Mon, 11 Nov 2013 16:51:07 +0000
(11:51 -0500)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Mon, 11 Nov 2013 16:51:07 +0000
(11:51 -0500)
src/parser/smt2/Smt2.g
patch
|
blob
|
history
diff --git
a/src/parser/smt2/Smt2.g
b/src/parser/smt2/Smt2.g
index c7e088124557cb00d3e1098abb365fe04ae02eaf..f3855e713a36eae859f1371ee2d5f450b6eea769 100644
(file)
--- a/
src/parser/smt2/Smt2.g
+++ b/
src/parser/smt2/Smt2.g
@@
-236,6
+236,9
@@
command returns [CVC4::Command* cmd = NULL]
$cmd = new SetBenchmarkLogicCommand(name); }
| SET_INFO_TOK KEYWORD symbolicExpr[sexpr]
{ name = AntlrInput::tokenText($KEYWORD);
+ if(name == ":cvc4-logic" || name == ":cvc4_logic") {
+ PARSER_STATE->setLogic(sexpr.getValue());
+ }
PARSER_STATE->setInfo(name.c_str() + 1, sexpr);
cmd = new SetInfoCommand(name.c_str() + 1, sexpr); }
| /* get-info */