-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VUnit fails to parse file with commented code #670
Comments
@PaulWozny, does it work if you remove/replace |
Yes. It also works when there are no characters after -- check(false, "max5719 vunit:");
|
@PaulWozny, thanks for checking! The parser, which is based on regexps, is known to work just well enough, and there are weird constraints such as this one. However, it is undesirable to make the parser more complex than it already is. See related discussions: https://github.com/VUnit/vunit/issues?q=label%3Aparsing+sort%3Aupdated-desc+ Hence, unless someone comes up with a not very complex modification to the regular expressions (https://github.com/VUnit/vunit/blob/master/vunit/vhdl_parser.py), I think avoiding |
See #1080 |
Hello,
On the newest docker image
ghdl/vunit:gcc-master
sha256:35b8034a5102aabcd34c1d87e337b3e071eeb38d3ad23eb21cc93bd479bf1ab2
following code produces error only when commented line is in the file.The text was updated successfully, but these errors were encountered: