Commit 288ebda9 authored by Stefan Behnel's avatar Stefan Behnel

fix NormalizeTree transform

parent 2d422b51
......@@ -131,9 +131,9 @@ class NormalizeTree(CythonTransform):
def visit_ExprStatNode(self, node):
"""Eliminate useless string literals"""
if node.expr.is_string_literal:
return None
self.visitchildren(node)
return node
return self.visit_PassStatNode(node)
else:
return self.visit_StatNode(node)
def visit_CDeclaratorNode(self, node):
return node
......
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