vhdl-style-guide/vsg/vhdlFile
Vincent Gao 526fb1c02f
Issue#1564: Fix block_201 false positive on leading comments when block is omitted
get_indexes_of_tokens_between appended the enumerate loop counter instead
of the start-token index when a start token had no following end token. A
block statement with the optional "is" keyword omitted (and no guard),
in a file containing no other is/guard tokens, therefore made block_201
report a violation against the first token of the file (a leading comment)
and --fix inserted a spurious blank line. Append the actual token index so
the rule is evaluated against the block line. Adds a regression test.
2026-06-15 19:40:34 +02:00
..
classify Merge pull request #1494 from JHertz5/issue-1491 2025-09-11 22:49:11 +01:00
extract Issue#1564: Fix block_201 false positive on leading comments when block is omitted 2026-06-15 19:40:34 +02:00
indent Fix comment indentation at end of scope (#1452) 2025-07-06 15:12:10 -05:00
__init__.py
…
code_tags.py style: apply black 2024-03-24 21:16:35 +02:00
utils.py Issue#1537: Comment removal. 2026-01-01 20:56:16 +00:00
vhdlFile.py Issue#1537: Replaced double rstrip call with single rstrip call. 2026-01-01 13:29:51 +00:00