diff --git a/parser/src/main/kotlin/gay/pizza/pork/parser/ParserNodeAttribution.kt b/parser/src/main/kotlin/gay/pizza/pork/parser/ParserNodeAttribution.kt index c5cc55e..7d6c4ef 100644 --- a/parser/src/main/kotlin/gay/pizza/pork/parser/ParserNodeAttribution.kt +++ b/parser/src/main/kotlin/gay/pizza/pork/parser/ParserNodeAttribution.kt @@ -28,7 +28,7 @@ open class ParserNodeAttribution : NodeAttribution { current = store stack.add(store) val node = block() - store = stack.removeLast() + store = stack.removeAt(stack.size - 1) current = stack.lastOrNull() node.data = ParserAttributes(store) return node