Commit 413d1d39 authored by Stefan Behnel's avatar Stefan Behnel

fix compiler crash - but not the underlying problem (see comments in #144)

parent a5e866b1
......@@ -458,7 +458,7 @@ class CArrayDeclaratorNode(CDeclaratorNode):
size = self.dimension.get_constant_result_code()
try:
size = int(size)
except ValueError:
except (ValueError, TypeError):
# runtime constant?
pass
else:
......
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