commented out buffer support in parser to fix C array types
authorStefan Behnel <scoder@users.berlios.de>
Fri, 11 Jul 2008 16:05:52 +0000 (18:05 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 11 Jul 2008 16:05:52 +0000 (18:05 +0200)
Cython/Compiler/Parsing.py

index efb88fbf6745c1d585d72090c410a36a5a15af3e..af2bc392c509d81efa59973634e207e48e8f3fc0 100644 (file)
@@ -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)