Updates for issue #182
1) Updated test to detect generics and ports starting with "process" 2) Restricted classifier to look for the whole word "process"
This commit is contained in:
parent
9658a2d2f3
commit
a479b22c3d
|
|
@ -102,5 +102,14 @@ proc_name : process (one, two, three) is
|
|||
|
||||
end process PROC_NAME;
|
||||
|
||||
U_ENTITY1 : ENTITY1
|
||||
generic map (
|
||||
process1 => '1'
|
||||
)
|
||||
port map (
|
||||
process2 => '3';
|
||||
process_2 => '4'
|
||||
);
|
||||
|
||||
end architecture ARCH;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ def process(dVars, oLine):
|
|||
|
||||
|
||||
def classify_process_keyword(dVars, oLine):
|
||||
if re.match('^\s*process', oLine.lineLower):
|
||||
if re.match('^\s*process[:|\s|$|(]', oLine.lineLower):
|
||||
oLine.isProcessKeyword = True
|
||||
oLine.insideProcess = True
|
||||
oLine.indentLevel = dVars['iCurrentIndentLevel']
|
||||
|
|
|
|||
Loading…
Reference in New Issue