Commit ddb64728 authored by Stefan Behnel's avatar Stefan Behnel

fixed NameError

parent ed4b9d51
...@@ -1302,7 +1302,7 @@ def p_IF_statement(s, level, cdef_flag, visibility, api): ...@@ -1302,7 +1302,7 @@ def p_IF_statement(s, level, cdef_flag, visibility, api):
if current_eval: if current_eval:
result = body result = body
if not result: if not result:
result = PassStatNode(pos) result = Nodes.PassStatNode(pos)
s.compile_time_eval = saved_eval s.compile_time_eval = saved_eval
return result return result
......
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