mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-05 14:04:07 +00:00
sby: core: config: Updated the [stage]
section to use commas for the parents
This commit is contained in:
parent
a0d366e58a
commit
f1a645bb18
|
@ -311,7 +311,7 @@ class SbyConfig:
|
|||
self.error(f"sby file syntax error: {line}")
|
||||
continue
|
||||
|
||||
# [stage <NAME> (PARENTS...)]
|
||||
# [stage <NAME> (PARENTS,...)]
|
||||
if entries[0] == "stage":
|
||||
mode = "stage"
|
||||
if len(entries) > 3 or len(entries) < 2:
|
||||
|
@ -320,7 +320,7 @@ class SbyConfig:
|
|||
if len(entries) == 2:
|
||||
parent = None
|
||||
else:
|
||||
parent = entries[2]
|
||||
parent = entries[2].split(',')
|
||||
|
||||
key = entries[1]
|
||||
|
||||
|
|
Loading…
Reference in a new issue