Commit 8fbd8049 authored by Stefan Behnel's avatar Stefan Behnel

fixed DEF constant integer parsing (bug 220108)

parent c33942dd
......@@ -669,7 +669,7 @@ class IntNode(ConstNode):
return str(self.value)
def compile_time_value(self, denv):
return int(self.value)
return int(self.value, 0)
class FloatNode(ConstNode):
......
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