Environment
Gentoo Linux
Describe the bug
Having a semi colon at the end of the generic list is a syntax error in VHDL. However, the VSG tool does not flag it as such. This is not the problem, just a data point.
When I incorrectly added the semi-colon and used the command line with the --fix option selected, the tool applied some unexpected formatting changes and returned an unexpected error.
reserved_001 | Error | 18 | Invalid use of reserved word PORT
Screenshots
Code with syntax error (red), before any --fix options selected. Redacted some things in black.
Code with syntax after running --fix and then associated error. notice the semi-colon persists and now everything in the port list is capitalized.
and finally the expected fix (not shown) occurs after removing the incorrect semi-colon and re-running the tool.
Expected behavior
I would expect the tool to flag the incorrect semi-colon. and otherwise not parse/format the file.