Commit 1139758c authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Fixed func(int[])-notation

parent da5c4e10
......@@ -1613,9 +1613,7 @@ def p_c_simple_base_type(s, self_flag, nonempty):
# Treat trailing [] on type as buffer access
if 0: # s.sy == '[':
if is_basic:
s.error("Basic C types do not support buffer access")
if not is_basic and s.sy == '[':
return p_buffer_access(s, type_node)
else:
return type_node
......
cdef extern:
cdef func(int[])
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