diff options
| author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-08-11 00:39:05 +0200 | 
|---|---|---|
| committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 16:35:34 +0200 | 
| commit | 91392f7951f9a60f50d20c594e3b9c978a4104bc (patch) | |
| tree | ecc121db072e187674e760ef447771fef93c9c88 /pyGHDL/dom/Concurrent.py | |
| parent | c80c2e02dda356e3eb00ae6a097ff62c0f08fc79 (diff) | |
| download | ghdl-91392f7951f9a60f50d20c594e3b9c978a4104bc.tar.gz ghdl-91392f7951f9a60f50d20c594e3b9c978a4104bc.tar.bz2 ghdl-91392f7951f9a60f50d20c594e3b9c978a4104bc.zip  | |
Renamed BodyItems to Statements.
Diffstat (limited to 'pyGHDL/dom/Concurrent.py')
| -rw-r--r-- | pyGHDL/dom/Concurrent.py | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/pyGHDL/dom/Concurrent.py b/pyGHDL/dom/Concurrent.py index ab30f9176..76ebd12a4 100644 --- a/pyGHDL/dom/Concurrent.py +++ b/pyGHDL/dom/Concurrent.py @@ -137,9 +137,9 @@ class ConcurrentBlockStatement(VHDLModel_ConcurrentBlockStatement, DOMMixin):          blockNode: Iir,          label: str,          declaredItems: Iterable = None, -        bodyItems: Iterable["ConcurrentStatement"] = None, +        statements: Iterable["ConcurrentStatement"] = None,      ): -        super().__init__(label, None, declaredItems, bodyItems) +        super().__init__(label, None, declaredItems, statements)          DOMMixin.__init__(self, blockNode)      @classmethod @@ -152,11 +152,11 @@ class ConcurrentBlockStatement(VHDLModel_ConcurrentBlockStatement, DOMMixin):          declaredItems = GetDeclaredItemsFromChainedNodes(              nodes.Get_Declaration_Chain(blockNode), "block", label          ) -        bodyItems = GetStatementsFromChainedNodes( +        statements = GetStatementsFromChainedNodes(              nodes.Get_Concurrent_Statement_Chain(blockNode), "block", label          ) -        return cls(blockNode, label, declaredItems, bodyItems) +        return cls(blockNode, label, declaredItems, statements)  @export  | 
