Closed JHertz5 closed 1 month ago
I have found the source of the problem and I plan to raise a pull request to address it soon.
I've created PR #1244 to resolve this issue.
Morning @JHertz5 ,
Thanks for the pull request.
I have not used external names before so it is challenging to create testcases. It would be nice if there was some standard set of files that could be used to run parsers against.
I will get this merged to master.
--Jeremy
Environment VSG's current master (at time of writing) git hash:
Describe the bug An external pathnames can have parenthesis in them, for example if there is a
for generate
statement in the path. At the moment, when the external names rules are run on a path that includes a parenthesis with anything after the parenthesis, VSG fails with an error.To Reproduce Steps to reproduce the behavior:
begin
-- Problem here. count_output <= << signal .gen(gv_counter).o_count : t_count >>;
-- This works fine. count_output <= << signal .gen(gv_counter) : t_count >>;
end architecture rtl;
Error while processing test.vhd: Error: Unexpected token detected while parsing external_signal_name @ Line 6, Column 41 in file None Expecting : : Found : .o_count