File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -791,19 +791,21 @@ void smt2_convt::convert_expr(const exprt &expr)
791
791
{
792
792
const irep_idt &id = to_symbol_expr (expr).get_identifier ();
793
793
DATA_INVARIANT (!id.empty (), " symbol must have identifier" );
794
- out << ' | ' << convert_identifier (id) << ' |' ;
794
+ print ( smt2_astt ( " | " + convert_identifier (id) + ' |' ), out) ;
795
795
}
796
796
else if (expr.id ()==ID_nondet_symbol)
797
797
{
798
798
const irep_idt &id = to_nondet_symbol_expr (expr).get_identifier ();
799
799
DATA_INVARIANT (!id.empty (), " nondet symbol must have identifier" );
800
- out << ' |' << convert_identifier (" nondet_" +id2string (id)) << ' |' ;
800
+ print (
801
+ smt2_astt (" |" + convert_identifier (" nondet_" + id2string (id)) + " |" ),
802
+ out);
801
803
}
802
804
else if (expr.id ()==ID_smt2_symbol)
803
805
{
804
806
const irep_idt &id = to_smt2_symbol (expr).get_identifier ();
805
807
DATA_INVARIANT (!id.empty (), " smt2 symbol must have identifier" );
806
- out << id ;
808
+ print ( smt2_astt ( id2string (id)), out) ;
807
809
}
808
810
else if (expr.id ()==ID_typecast)
809
811
{
You can’t perform that action at this time.
0 commit comments