From: Armin Ronacher Date: Sat, 8 Sep 2007 16:24:25 +0000 (+0200) Subject: fixed bug in jinja filter parser (why the fuck was there no unittest for that??)... X-Git-Tag: 2.0rc1~274 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5f8ffc8a269d50d709468382132a624f0cea7bc;p=jinja2.git fixed bug in jinja filter parser (why the fuck was there no unittest for that??) XXX: add unittest --HG-- branch : trunk --- diff --git a/jinja/parser.py b/jinja/parser.py index 624386c..28a037f 100644 --- a/jinja/parser.py +++ b/jinja/parser.py @@ -223,6 +223,7 @@ class Parser(object): token = self.stream.expect('name') args = [] if self.stream.current.type == 'lparen': + self.stream.next() while self.stream.current.type != 'rparen': if args: self.stream.expect('comma')