projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb0637
)
Fixes related to parametric datatype printing.
author
Morgan Deters
<mdeters@cs.nyu.edu>
Thu, 5 Dec 2013 17:54:40 +0000
(12:54 -0500)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Thu, 5 Dec 2013 20:41:28 +0000
(15:41 -0500)
src/printer/smt2/smt2_printer.cpp
patch
|
blob
|
history
diff --git
a/src/printer/smt2/smt2_printer.cpp
b/src/printer/smt2/smt2_printer.cpp
index 869e02326d871b6e35617fceea11b7dec7945e3c..cac5eb266becbf8683fc37c12a3f474a410644c7 100644
(file)
--- a/
src/printer/smt2/smt2_printer.cpp
+++ b/
src/printer/smt2/smt2_printer.cpp
@@
-326,12
+326,14
@@
void Smt2Printer::toStream(std::ostream& out, TNode n,
out << ' ';
TypeNode t = TypeNode::fromType(n.getOperator().getConst<AscriptionType>().getType());
out << (t.isFunctionLike() ? t.getRangeType() : t);
- stillNeedToPrintParams = false;
+ out << ')';
+ return;
}
break;
case kind::APPLY_TESTER:
case kind::APPLY_CONSTRUCTOR:
case kind::APPLY_SELECTOR:
+ case kind::PARAMETRIC_DATATYPE:
break;
// quantifiers