From 830b20b9df7472f18e0b61a324e0c2bed6709c7d Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 10 Mar 2011 01:20:10 -0800 Subject: [PATCH] Fix using pointer type in templates. --- 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 2cd437e7..91ddf6a7 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -2003,7 +2003,7 @@ def looking_at_expr(s): is_type = True elif s.sy == '*' or s.sy == '**': s.next() - is_type = s.sy == ')' + is_type = s.sy in (')', ']') s.put_back(*saved) elif s.sy == '(': s.next() -- 2.26.2