16 lines
509 B
Python
16 lines
509 B
Python
|
|
from vsg import parser
|
|
from vsg.rules import insert_blank_line_below_line_containing_item_rule
|
|
|
|
|
|
class rule_025(insert_blank_line_below_line_containing_item_rule):
|
|
'''
|
|
Checks for a single space between the context keyword and the context identifier
|
|
|
|
'''
|
|
|
|
def __init__(self):
|
|
insert_blank_line_below_line_containing_item_rule.__init__(self, 'context', '025', parser.context_semicolon)
|
|
self.regionBegin = parser.context_keyword
|
|
self.regionEnd = parser.context_semicolon
|