diff options
Diffstat (limited to 'pp2cc.py')
-rwxr-xr-x | pp2cc.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -785,7 +785,7 @@ class Parse(object): lines.append(self.asm.binary_op("LOAD", "R0", "R0")) return lines def parseCast(self, linked_node): - self.logger.warning("Found a type cast, but these are unsupported.", linked_node=linked_node) + #self.logger.warning("Found a type cast, but these are unsupported.", linked_node=linked_node) return self.parseExpression(linked_node.node.expr, linked_node) def parseDoWhile(self, linked_node): node = linked_node.node @@ -1308,8 +1308,8 @@ class Parse(object): raise RuntimeError("Unsupported constant type '{}'".format(node.type)) value = self.convertStrToInteger(self.convertInteger(node.value)) elif linked_node.type == "Cast": - self.logger.warning("Found a type cast, but these are unsupported", - linked_node=linked_node) + #self.logger.warning("Found a type cast, but these are unsupported", + # linked_node=linked_node) value = self.determineConstValue(LinkedNode(node.expr, linked_node)) elif linked_node.type == "UnaryOp": op = node.op |