Let the skeletons have empty nodes sometimes
This commit is contained in:
parent
ec8e166099
commit
5b373e3047
|
@ -165,7 +165,6 @@ proc modify(node: Node; turn: var Turn; outerValue: Value; event: EventKind;
|
||||||
|
|
||||||
proc walk(node: Node; turn: var Turn; termStack: TermStack) =
|
proc walk(node: Node; turn: var Turn; termStack: TermStack) =
|
||||||
walk(node.continuation, turn)
|
walk(node.continuation, turn)
|
||||||
assert not node.isEmpty
|
|
||||||
for selector, table in node.edges:
|
for selector, table in node.edges:
|
||||||
let
|
let
|
||||||
nextStack = pop(termStack, selector.popCount)
|
nextStack = pop(termStack, selector.popCount)
|
||||||
|
|
Loading…
Reference in New Issue