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