31 lines
574 B
Python
31 lines
574 B
Python
|
|
from vsg.rules import blank_line_below_line_ending_with_token
|
|
|
|
from vsg.token import loop_statement as token
|
|
|
|
|
|
class rule_203(blank_line_below_line_ending_with_token):
|
|
'''
|
|
This rule checks for blank lines below the **end loop** keywords.
|
|
|
|
|configuring_blank_lines_link|
|
|
|
|
**Violation**
|
|
|
|
.. code-block:: vhdl
|
|
|
|
end loop;
|
|
a <= b;
|
|
|
|
**Fix**
|
|
|
|
.. code-block:: vhdl
|
|
|
|
end loop;
|
|
|
|
a <= b;
|
|
'''
|
|
|
|
def __init__(self):
|
|
blank_line_below_line_ending_with_token.__init__(self, 'loop_statement', '203', [token.semicolon])
|