binokkio opened a new pull request, #119: URL: https://github.com/apache/freemarker/pull/119
I noticed compiling a template containing `<#sep>` using a configuration specifying the square bracket tag syntax fails with a `freemarker.core.ParseException: Syntax error in template "X" in line Y, column Z: #sep must be inside a #list (or #foreach) block.` I think `<#sep>` should be ignored instead as it is not using the square bracket syntax. This PR adds a unit test covering that case, a change in `FTL.jj` that solves the issue, and fixes a typo. `./gradlew check` runs successfully for me with these changes, but I do not know the Freemarker codebase well enough to be confident that it does not introduce other issues. I'd be happy to improve this PR if there is any feedback. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@freemarker.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org