Skip to content

Commit 7f19c62

Browse files
committed
[FREEMARKER-209] Fix "estabilished" typo in error message
Corrects spelling in the naming-convention mismatch error message emitted by the FTL parser, and in a related code comment in the same token-manager section.
1 parent 2f50940 commit 7f19c62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • freemarker-core/src/main/javacc/freemarker/core

freemarker-core/src/main/javacc/freemarker/core/FTL.jj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ TOKEN_MGR_DECLS:
677677
}
678678

679679
if (!strictSyntaxMode) {
680-
// Legacy feature (or bug?): Tag syntax never gets estabilished in non-strict mode.
680+
// Legacy feature (or bug?): Tag syntax never gets established in non-strict mode.
681681
// We do establish the naming convention though.
682682
checkNamingConvention(tok, tokenNamingConvention);
683683
SwitchTo(newLexState);
@@ -748,7 +748,7 @@ TOKEN_MGR_DECLS:
748748
: "??? (internal error)"
749749
))
750750
+ (namingConventionEstabilisher != null
751-
? "estabilished by auto-detection at "
751+
? "established by auto-detection at "
752752
+ _MessageUtil.formatPosition(
753753
namingConventionEstabilisher.beginLine, namingConventionEstabilisher.beginColumn)
754754
+ " by token " + StringUtil.jQuote(namingConventionEstabilisher.image.trim())

0 commit comments

Comments
 (0)