Updates for entity rules:
1) Fixed checking of spaces before end keyword for entities
This commit is contained in:
parent
d30a70b098
commit
9a02eebd4e
|
|
@ -396,6 +396,7 @@ class rule_018(entity_rule):
|
|||
for iLineNumber, sLine in enumerate(lines):
|
||||
if fEntityFound:
|
||||
if re.match('^\s*end', sLine.lower()):
|
||||
fEntityFound = False
|
||||
if not re.match('^end', sLine.lower()):
|
||||
lFailureLines.append(iLineNumber + 1)
|
||||
if re.match('\s*entity', sLine.lower()):
|
||||
|
|
|
|||
|
|
@ -105,5 +105,5 @@ end ENTITY1
|
|||
architecture RTL of ENTITY1 is
|
||||
|
||||
begin
|
||||
end rtl;
|
||||
end rtl;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue