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