fixed bug in jinja filter parser (why the fuck was there no unittest for that??)...
authorArmin Ronacher <armin.ronacher@active-4.com>
Sat, 8 Sep 2007 16:24:25 +0000 (18:24 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sat, 8 Sep 2007 16:24:25 +0000 (18:24 +0200)
--HG--
branch : trunk

jinja/parser.py

index 624386c5dad353fb8771647df4c77ec45807c9b8..28a037f456fcc7dfdfd36553a00d086eaf49200d 100644 (file)
@@ -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')