Skip to content

Commit

Permalink
More brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
3fTL committed Mar 8, 2023
1 parent 121172d commit 87d3f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lexers/LexGDScript.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ void SCI_METHOD LexerGDScript::Lex(Sci_PositionU startPos, Sci_Position length,
percentFlag = true;
sc.SetState(SCE_GD_NODE_IDENTIFIER);
} else if (isoperator(sc.ch) || sc.ch == '`') {
percentFlag = (sc.ch == ')');
percentFlag = (sc.ch == ')') || (sc.ch == ']') || (sc.ch == '}');
sc.SetState(SCE_GD_OPERATOR);
} else if (sc.ch == '#') {
sc.SetState(sc.chNext == '#' ? SCE_GD_COMMENTBLOCK : SCE_GD_COMMENTLINE);
Expand Down

0 comments on commit 87d3f75

Please sign in to comment.