diff --git a/parse.y b/parse.y index 2d1273b37..2135e0ac4 100644 --- a/parse.y +++ b/parse.y @@ -3819,7 +3819,6 @@ module } } pform_endmodule($3, in_celldefine, ucd); - delete[]$3; have_timeunit_decl = false; // We will allow decls again. have_timeprec_decl = false; } @@ -3832,6 +3831,7 @@ module if ($15 && (strcmp($3,$15) != 0)) { yyerror(@15, "error: End name doesn't match module/program name"); } + delete[]$3; if ($15) delete[]$15; } ; diff --git a/vvp/vvp.def b/vvp/vvp.def index ba44435e7..20434df84 100644 --- a/vvp/vvp.def +++ b/vvp/vvp.def @@ -38,6 +38,7 @@ vpi_sim_vcontrol vpi_vprintf vpip_calc_clog2 +vpip_count_drivers vpip_format_strength vpip_make_systf_system_defined vpip_set_return_value