Fix premature memory delete and missing DLL export definition.
A couple of errors that showed up in a MinGW build.
This commit is contained in:
parent
7179274bde
commit
4af8b03e9d
2
parse.y
2
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;
|
||||
}
|
||||
;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue