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 @@ -880,19 +880,21 @@ void smt2_convt::convert_expr(const exprt &expr)
880
880
{
881
881
const irep_idt &id = to_symbol_expr (expr).get_identifier ();
882
882
DATA_INVARIANT (!id.empty (), " symbol must have identifier" );
883
- out << ' |' << convert_identifier (id) << ' |' ;
883
+ smt2_ast_symbolt::make (
884
+ " |" + convert_identifier (id) + ' |' )->print (out);
884
885
}
885
886
else if (expr.id ()==ID_nondet_symbol)
886
887
{
887
888
const irep_idt &id = to_nondet_symbol_expr (expr).get_identifier ();
888
889
DATA_INVARIANT (!id.empty (), " nondet symbol must have identifier" );
889
- out << ' |' << convert_identifier (" nondet_" +id2string (id)) << ' |' ;
890
+ smt2_ast_symbolt::make (
891
+ " |" + convert_identifier (" nondet_" +id2string (id)) + " |" )->print (out);
890
892
}
891
893
else if (expr.id ()==ID_smt2_symbol)
892
894
{
893
895
const irep_idt &id = to_smt2_symbol (expr).get_identifier ();
894
896
DATA_INVARIANT (!id.empty (), " smt2 symbol must have identifier" );
895
- out << id ;
897
+ smt2_ast_symbolt::make ( id2string (id))-> print (out) ;
896
898
}
897
899
else if (expr.id ()==ID_typecast)
898
900
{
You can’t perform that action at this time.
0 commit comments