Commit 172daf17 authored by Robert Bradshaw's avatar Robert Bradshaw

Another IntNode fix.

parent 98cb5a8e
......@@ -790,6 +790,7 @@ class IntNode(ConstNode):
def __init__(self, pos, **kwds):
ExprNode.__init__(self, pos, **kwds)
if 'type' not in kwds:
rank = max(1, len(self.longness))
sign = not self.unsigned
self.type = PyrexTypes.modifiers_and_name_to_type[sign, rank, "int"]
......
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