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 @@ -862,19 +862,21 @@ void smt2_convt::convert_expr(const exprt &expr)
862
862
{
863
863
const irep_idt &id = to_symbol_expr (expr).get_identifier ();
864
864
DATA_INVARIANT (!id.empty (), " symbol must have identifier" );
865
- out << ' |' << convert_identifier (id) << ' |' ;
865
+ smt2_ast_symbolt::make (
866
+ " |" + convert_identifier (id) + ' |' )->print (out);
866
867
}
867
868
else if (expr.id ()==ID_nondet_symbol)
868
869
{
869
870
const irep_idt &id = to_nondet_symbol_expr (expr).get_identifier ();
870
871
DATA_INVARIANT (!id.empty (), " nondet symbol must have identifier" );
871
- out << ' |' << convert_identifier (" nondet_" +id2string (id)) << ' |' ;
872
+ smt2_ast_symbolt::make (
873
+ " |" + convert_identifier (" nondet_" +id2string (id)) + " |" )->print (out);
872
874
}
873
875
else if (expr.id ()==ID_smt2_symbol)
874
876
{
875
877
const irep_idt &id = to_smt2_symbol (expr).get_identifier ();
876
878
DATA_INVARIANT (!id.empty (), " smt2 symbol must have identifier" );
877
- out << id ;
879
+ smt2_ast_symbolt::make ( id2string (id))-> print (out) ;
878
880
}
879
881
else if (expr.id ()==ID_typecast)
880
882
{
You can’t perform that action at this time.
0 commit comments