Open domWalters opened 2 days ago
Morning @domWalters ,
I have pushed a fix to the issue-1188
branch. It turns out the */
was giving the comment parser problems. When you get a chance could you run this branch on your end and let me know if it fixes the issue?
Thanks,
--Jeremy
Environment Ubuntu 20.04 VSG 3.23.0
Describe the bug Certain comments can cause the vsg parser to think it is parsing statements that it isn't.
In the example below, vsg thinks it is interpreting a procedure call statement, when it is actually an if else.
To Reproduce Run
vsg
against a file with this content:FYI: This is a drastically cut down and modified version of a file generated by Xilinx Vivado. The comment that has been reduced to
[*a*/D]
, is actually an XDCset_false_path
constraint that looks up a pin using the*
glob.Expected behavior
vsg
should complete parsing this file.Screenshots When the above is run through
vsg
:This error points to the first character of the word
else
.