Skip to content
Myr

fixed a bug with filtered loops

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 6b44952 · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:docs/_templates/genindex.html+2 added-2 removed
modified:jinja2/parser.py+1 added-1 removed
107 unmodified lines
108 target.set_ctx('store')109 self.stream.expect('name:in')110 iter = self.parse_tuple(no_condexpr=True)111 test = None112 if self.stream.current.type is 'name:if':112 if self.stream.current.test('name:if'):113 self.stream.next()114 test = self.parse_expression()115 body = self.parse_statements(('name:endfor', 'name:else'))116 if self.stream.next().value == 'endfor':
622 unmodified lines