Further changes

This commit is contained in:
Otto Winter
2018-08-24 22:44:15 +02:00
parent 2fc78a1b33
commit 5c39f73fda
42 changed files with 276 additions and 54 deletions
+6
View File
@@ -273,6 +273,12 @@ class IntLiteral(Literal):
self.i = i
def __str__(self):
if self.i > 4294967295:
return u'{}ULL'.format(self.i)
if self.i > 2147483647:
return u'{}UL'.format(self.i)
if self.i < -2147483648:
return u'{}LL'.format(self.i)
return unicode(self.i)