diff --git a/vsg/tests/process/process_test_input.vhd b/vsg/tests/process/process_test_input.vhd index ae9c7b14..61e2546d 100644 --- a/vsg/tests/process/process_test_input.vhd +++ b/vsg/tests/process/process_test_input.vhd @@ -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; diff --git a/vsg/vhdlFile/classify/process.py b/vsg/vhdlFile/classify/process.py index 5e00ea46..b228ce43 100644 --- a/vsg/vhdlFile/classify/process.py +++ b/vsg/vhdlFile/classify/process.py @@ -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']