Skip to content

Commit

Permalink
Actually allow static declare
Browse files Browse the repository at this point in the history
  • Loading branch information
CloakerSmoker committed Dec 27, 2024
1 parent b423e3f commit 1fe27f5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified build/linux_compiler.elf
Binary file not shown.
Binary file modified build/windows_compiler.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion src/compiler/Parser.rlx
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ struct ParserState {
IsMethod := IsStaticMethod || KeywordValue = KEYWORD_DECLARE || KeywordValue = KEYWORD_DEFINE

if (this->NextTokenMatches(TOKEN_TYPE_KEYWORD, KEYWORD_DECLARE)) {
IsMethod := KEYWORD_DECLARE
MethodKeyword := this->GetCurrentToken()
}
}

Expand Down

0 comments on commit 1fe27f5

Please sign in to comment.