Commit 830b20b9 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix using pointer type in templates.

parent 0fefeb25
...@@ -2003,7 +2003,7 @@ def looking_at_expr(s): ...@@ -2003,7 +2003,7 @@ def looking_at_expr(s):
is_type = True is_type = True
elif s.sy == '*' or s.sy == '**': elif s.sy == '*' or s.sy == '**':
s.next() s.next()
is_type = s.sy == ')' is_type = s.sy in (')', ']')
s.put_back(*saved) s.put_back(*saved)
elif s.sy == '(': elif s.sy == '(':
s.next() s.next()
......
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