vhdl-style-guide/vsg/vhdlFile/classify/with_statement.py

7 lines
137 B
Python

import re
def with_statement(dVars, oLine):
if re.match('^\s*with', oLine.line, re.IGNORECASE):
oLine.isWithKeyword = True