summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpp2cc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp2cc.py b/pp2cc.py
index 8d26f78..7249ca3 100755
--- a/pp2cc.py
+++ b/pp2cc.py
@@ -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