From: Fabien Potencier Date: Mon, 10 Dec 2012 20:14:37 +0000 (+0100) Subject: merged branch fabpot/loop-errors (PR #927) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=4b359deec003c9dfcf4d1e5fd06097b582583e7a;p=web%2Fkonrad%2Ftwig.git merged branch fabpot/loop-errors (PR #927) This PR was merged into the master branch. Commits ------- 811dfad added a syntax error when using a loop variable that is not defined (closes #925) aa15cae simplified code Discussion ---------- added a syntax error when using a loop variable that is not defined refs #925 --------------------------------------------------------------------------- by stof at 2012-12-10T15:18:30Z in the ifexpr, you should also check for ``loop.index`` & co as they are not yet incremented (and so cannot be used properly) --------------------------------------------------------------------------- by fabpot at 2012-12-10T20:07:08Z @stof fixed --- 4b359deec003c9dfcf4d1e5fd06097b582583e7a