Skip to content

Commit

Permalink
Fixed compilation error in GwtScriptExpressionParsing due to recent c…
Browse files Browse the repository at this point in the history
…hanges in consulo-javascript.
  • Loading branch information
unv-unv committed Jul 6, 2024
1 parent 29cbba6 commit f1f0036
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import consulo.javascript.lang.parsing.ExpressionParsing;
import consulo.javascript.lang.parsing.JavaScriptParsingContext;
import consulo.javascript.language.JavaScriptBundle;
import consulo.language.ast.IElementType;
import consulo.javascript.localize.JavaScriptLocalize;import consulo.language.ast.IElementType;
import consulo.language.parser.PsiBuilder;

/**
Expand Down Expand Up @@ -103,7 +103,7 @@ else if(!parsePrimaryExpression(builder))
}
else
{
builder.error(JavaScriptBundle.message("javascript.parser.message.expected.name"));
builder.error(JavaScriptLocalize.javascriptParserMessageExpectedName());
}

if(gwtExprMark == null)
Expand All @@ -123,7 +123,7 @@ else if(tokenType == JSTokenTypes.LBRACKET)
{
builder.advanceLexer();
parseExpression(builder);
checkMatches(builder, JSTokenTypes.RBRACKET, JavaScriptBundle.message("javascript.parser.message.expected.rbracket"));
checkMatches(builder, JSTokenTypes.RBRACKET, JavaScriptLocalize.javascriptParserMessageExpectedRbracket());
expr.done(JSElementTypes.INDEXED_PROPERTY_ACCESS_EXPRESSION);
expr = expr.precede();
}
Expand Down

0 comments on commit f1f0036

Please sign in to comment.