Enable parsing negative integers

This commit is contained in:
Bartłomiej Pluta
2019-07-05 21:43:51 +02:00
parent a9fdbe62be
commit 6d59ffff1c
4 changed files with 26 additions and 8 deletions

View File

@@ -18,9 +18,9 @@ class ExpressionNode(Node):
@classmethod
def withValue(cls, v, pos):
def withValue(cls, val, pos):
node = cls(pos)
node.value = v
node.value = val
return node