Bug fixed (FREEMARKER-70): The usage of loop variable built-ins, like loopVar?index...
authorddekany <ddekany@apache.org>
Fri, 11 Aug 2017 22:20:32 +0000 (00:20 +0200)
committerddekany <ddekany@apache.org>
Fri, 11 Aug 2017 22:20:32 +0000 (00:20 +0200)
commit056bf1cd7e59740af304b2566caacd921378a5bd
treee838c088c1994a08d64ceaaa5c3e3dfbfbfef2e5
parent924a420119b72f663769d7f3e9422ba22637478f
Bug fixed (FREEMARKER-70): The usage of loop variable built-ins, like loopVar?index, was disallowed by the parser inside interpolations that are inside a string literal expression (as in <#list 1..3 as loopVar>${'${loopVar?index}'}</#list>), saying that there's no loop variable in scope with loopVar name.
src/main/java/freemarker/core/StringLiteral.java
src/main/javacc/FTL.jj
src/manual/en_US/book.xml
src/test/java/freemarker/core/ListErrorsTest.java