From 5a9c0be1639f48aed0b62305dde0b37744c9a213 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 11 Jul 2008 18:05:52 +0200 Subject: [PATCH] commented out buffer support in parser to fix C array types --- Cython/Compiler/Parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index efb88fbf..af2bc392 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -1613,7 +1613,7 @@ def p_c_simple_base_type(s, self_flag, nonempty): # Treat trailing [] on type as buffer access - if s.sy == '[': + if 0: # s.sy == '[': if is_basic: s.error("Basic C types do not support buffer access") return p_buffer_access(s, type_node) -- 2.26.2