From b15bb8e846ff65355da29e94588bb70e072e4951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Pluta?= Date: Fri, 5 Jul 2019 22:57:20 +0200 Subject: [PATCH] Fix BlockNode --- smnp/newast/node/block.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smnp/newast/node/block.py b/smnp/newast/node/block.py index 577bd3f..0c28178 100644 --- a/smnp/newast/node/block.py +++ b/smnp/newast/node/block.py @@ -8,7 +8,7 @@ class BlockNode(StatementNode): @classmethod def _parse(cls, input): def createNode(start, items, end): - node = StatementNode(start.pos) + node = BlockNode(start.pos) node.children = items return node