Commit 336846c5 authored by Stefan Behnel's avatar Stefan Behnel

... and through type casts

parent e0e71d4f
......@@ -3825,6 +3825,9 @@ class TypecastNode(NewTempExprNode):
def check_const(self):
self.operand.check_const()
def calculate_constant_result(self):
self.constant_result = self.operand.constant_result
def calculate_result_code(self):
opnd = self.operand
......
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