Commit cbd925a3 authored by gsamain's avatar gsamain

The horribly commented check on cdef nogil

parent 5a8e9e62
......@@ -3306,10 +3306,10 @@ def p_c_func_or_var_declaration(s, pos, ctx):
fatal=False)
s.next()
p_test(s) # Keep going, but ignore result.
nogil = ctx.nogil
if s.sy == 'nogil':
nogil = p_nogil(s)
s.next()
#nogil = ctx.nogil
#if s.sy == 'nogil':
# nogil = p_nogil(s)
# s.next()
# if ctx.level == 'c_class_nogil' and not nogil:
# s.error("Only C function with nogil allowed in nogil extension")
if s.sy == ':':
......
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