Commit a82e12f7 authored by Stefan Marr's avatar Stefan Marr

Should parse integers with int()

Hope to make sure that they are int instances that way
Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 4f2d4a09
......@@ -476,7 +476,7 @@ class Parser(object):
return -self._literal_integer()
def _literal_integer(self):
i = long(self._text)
i = int(self._text)
self._expect(Symbol.Integer)
return i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment