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 540fbb6 commit 62888ff
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 @@ -342,8 +342,7 @@ private static void Error(string msg) {

filePath = Path.Combine(outputDir, filePath);

var meep = File.Exists(filePath) ? 1.0f : 0.0f;
return meep;
return File.Exists(filePath) ? 1.0f : 0.0f;
}

Error($"Unexpected identifier {token.PrintableText} in preprocessor expression");
Expand Down

0 comments on commit 62888ff

Please sign in to comment.