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