Skip to content

Commit

Permalink
Update DMCompiler/Compiler/DMPreprocessor/DMPreprocessorParser.cs
Browse files Browse the repository at this point in the history
Co-authored-by: wixoa <[email protected]>
  • Loading branch information
ike709 and wixoaGit authored Jun 2, 2024
1 parent 5632f9c commit cb722a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DMCompiler/Compiler/DMPreprocessor/DMPreprocessorParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,7 @@ private static void Error(string msg) {
}

return _defines!.ContainsKey(definedInner.Text) ? 1.0f : 0.0f;
}
else if (token.Text == "fexists") {
} else if (token.Text == "fexists") {
Advance();
if (!Check(TokenType.DM_LeftParenthesis)) {
Error("Expected '(' to begin fexists() expression");
Expand Down

0 comments on commit cb722a7

Please sign in to comment.