diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2008-05-11 22:20:51 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2008-05-11 22:20:51 +0200 |
commit | fdf953008b363dbaee1808161f4d991229353ca8 (patch) | |
tree | 9e058f7665f3822f5f0148796b17376ab4b1d85b /jinja2/ext.py | |
parent | 27069d73ec6cc9bbf6ce55f6ef48bafa825508d8 (diff) | |
download | jinja2-fdf953008b363dbaee1808161f4d991229353ca8.tar.gz |
added parsing code for "for item in seq recursive" and improved parser interface a bit
--HG--
branch : trunk
Diffstat (limited to 'jinja2/ext.py')
-rw-r--r-- | jinja2/ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jinja2/ext.py b/jinja2/ext.py index 53b4041..aac7528 100644 --- a/jinja2/ext.py +++ b/jinja2/ext.py @@ -145,7 +145,7 @@ class InternationalizationExtension(Extension): parser.stream.expect('comma') # skip colon for python compatibility - if parser.skip_colon(): + if parser.stream.skip_if('colon'): break name = parser.stream.expect('name') |