File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -572,8 +572,9 @@ void abstractort::calc_abstract_trans_rel(
572
572
throw " unexpected result from predabs_sat1.solve()" ;
573
573
}
574
574
575
- print (9 , " Generated " +
576
- i2string (trans_cube_set.no_insertions ())+" cube(s)" );
575
+ debug () <<" Generated "
576
+ << i2string (trans_cube_set.no_insertions ()) << " cube(s)"
577
+ << eom;
577
578
578
579
if (show_cubes)
579
580
std::cout << trans_cube_set;
@@ -693,8 +694,9 @@ void abstractort::calc_abstract_initial_states(
693
694
}
694
695
695
696
// std::cout<<" The abstract transition relation \n";
696
- print (9 , " Generated " +
697
- i2string (initial.no_insertions ())+" cube(s)\n " );
697
+ debug () << " Generated " <<
698
+ << i2string (initial.no_insertions ()) <, " cube(s)\n "
699
+ << eom;
698
700
699
701
if (show_cubes)
700
702
std::cout << initial;
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ bool modelchecker_smvt::read_result_cadence_smv(
164
164
counterexample);
165
165
166
166
167
- print ( 9 , " Cadence SMV counterexample sucessfully read" ) ;
167
+ debug () << " Cadence SMV counterexample sucessfully read" << eom ;
168
168
169
169
return false ;
170
170
}
Original file line number Diff line number Diff line change @@ -2026,6 +2026,9 @@ bool verilog_typecheck(
2026
2026
message_handlert &message_handler,
2027
2027
const namespacet &ns)
2028
2028
{
2029
+ const unsigned errors_before=
2030
+ message_handler.get_message_count (messaget::M_ERROR);
2031
+
2029
2032
verilog_typecheck_exprt verilog_typecheck_expr (
2030
2033
ns, module_identifier, message_handler);
2031
2034
@@ -2048,6 +2051,6 @@ bool verilog_typecheck(
2048
2051
{
2049
2052
verilog_typecheck_expr.error () << e << messaget::eom;
2050
2053
}
2051
-
2052
- return verilog_typecheck_expr. get_error_found () ;
2054
+
2055
+ return message_handler. get_message_count (messaget::M_ERROR)!=errors_before ;
2053
2056
}
You can’t perform that action at this time.
0 commit comments