Closed doelen closed 6 years ago
This looks like a duplicate of #334. Are you running VUnit >= 3.3.0?
The VUnit parser is just regex based and will be worse in the presence of syntax errors in general. VUnit has no real need for a complete parser and developing one takes a lot of time and would be less robust during development. This is why we let the real compiler handle files where the internal parser failed.
Maybe this specific instance of the general problem of the regex based parser being worse can be fixed.
Yes, that is the same error. Sorry I didn’t see that post.
When using vunit and modelsim, the misleading Error message listed below will occur if there is an additional semicolon on the last port definition in an entity.
VHDL code that generates the error:
I would expect vunit to respond with a clearer error message such as “unexpected semicolon on line....". It seems that modelsim is not reporting this typo during compilation and the vhdl_parser cannot handle it.
I'd be happy to help, if you need more information concerning my code and setup.