sim: support execution of nested statement lists
This commit is contained in:
parent
48d22a7588
commit
3b7f1264f1
|
@ -193,6 +193,8 @@ class Evaluator:
|
||||||
return
|
return
|
||||||
if "default" in s.cases:
|
if "default" in s.cases:
|
||||||
self.execute(s.cases["default"])
|
self.execute(s.cases["default"])
|
||||||
|
elif isinstance(s, list):
|
||||||
|
execute(s)
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue