projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
306971d
)
fixed bug in jinja filter parser (why the fuck was there no unittest for that??)...
author
Armin Ronacher
<armin.ronacher@active-4.com>
Sat, 8 Sep 2007 16:24:25 +0000
(18:24 +0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Sat, 8 Sep 2007 16:24:25 +0000
(18:24 +0200)
--HG--
branch : trunk
jinja/parser.py
patch
|
blob
|
history
diff --git
a/jinja/parser.py
b/jinja/parser.py
index 624386c5dad353fb8771647df4c77ec45807c9b8..28a037f456fcc7dfdfd36553a00d086eaf49200d 100644
(file)
--- 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')