From: Robert Bradshaw Date: Thu, 10 Mar 2011 09:20:10 +0000 (-0800) Subject: Fix using pointer type in templates. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=830b20b9df7472f18e0b61a324e0c2bed6709c7d;p=cython.git Fix using pointer type in templates. --- 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()