Commit c9e64ef4 authored by Stefan Behnel's avatar Stefan Behnel

fixed broken call to compiler error function

parent c24f9ace
...@@ -1202,7 +1202,8 @@ def p_with_statement(s): ...@@ -1202,7 +1202,8 @@ def p_with_statement(s):
body = p_suite(s) body = p_suite(s)
return Nodes.GILStatNode(pos, state = state, body = body) return Nodes.GILStatNode(pos, state = state, body = body)
else: else:
s.error(pos, "Only 'with gil' and 'with nogil' implemented") s.error("Only 'with gil' and 'with nogil' implemented",
pos = pos)
def p_simple_statement(s): def p_simple_statement(s):
#print "p_simple_statement:", s.sy, s.systring ### #print "p_simple_statement:", s.sy, s.systring ###
......
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