18 lines
373 B
Python
18 lines
373 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from vsg.vhdlFile.classify import sequential_statement
|
|
|
|
|
|
def detect(iToken, lObjects):
|
|
"""
|
|
subprogram_statement_part ::=
|
|
{ sequential_statement }
|
|
"""
|
|
|
|
iLast = 0
|
|
iCurrent = iToken
|
|
while iLast != iCurrent:
|
|
iLast = iCurrent
|
|
iCurrent = sequential_statement.detect(iCurrent, lObjects)
|
|
return iCurrent
|