Fix BlockNode
This commit is contained in:
@@ -8,7 +8,7 @@ class BlockNode(StatementNode):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def _parse(cls, input):
|
def _parse(cls, input):
|
||||||
def createNode(start, items, end):
|
def createNode(start, items, end):
|
||||||
node = StatementNode(start.pos)
|
node = BlockNode(start.pos)
|
||||||
node.children = items
|
node.children = items
|
||||||
return node
|
return node
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user