File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 25
25
#include < util/ui_message.h>
26
26
27
27
void show_vcc_plain (
28
- std::ostream &out,
28
+ messaget::mstreamt &out,
29
29
const namespacet &ns,
30
30
const symex_target_equationt &equation)
31
31
{
@@ -94,6 +94,8 @@ void show_vcc_plain(
94
94
out << ' {' << count << " } " << format (disjunct) << ' \n ' ;
95
95
count++;
96
96
}
97
+
98
+ out << messaget::eom;
97
99
}
98
100
}
99
101
@@ -190,13 +192,18 @@ void show_vcc(
190
192
break ;
191
193
192
194
case ui_message_handlert::uit::PLAIN:
193
- msg.status () << " VERIFICATION CONDITIONS:\n " << messaget::eom;
194
195
if (have_file)
195
- show_vcc_plain (out, ns, equation);
196
+ {
197
+ msg.status () << " Verification conditions written to file"
198
+ << messaget::eom;
199
+ stream_message_handlert mout_handler (out);
200
+ messaget mout (mout_handler);
201
+ show_vcc_plain (mout.status (), ns, equation);
202
+ }
196
203
else
197
204
{
205
+ msg.status () << " VERIFICATION CONDITIONS:\n " << messaget::eom;
198
206
show_vcc_plain (msg.status (), ns, equation);
199
- msg.status () << messaget::eom;
200
207
}
201
208
break ;
202
209
}
You can’t perform that action at this time.
0 commit comments