Skip to content

Commit

Permalink
Update DMCompiler/Compiler/DMPreprocessor/DMPreprocessor.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
wixoaGit authored Oct 2, 2023
1 parent cf837f3 commit 4b0510c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DMCompiler/Compiler/DMPreprocessor/DMPreprocessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ private void HandleDefineDirective(Token defineToken) {
string? dirTokenValue = dirToken.Type switch {
TokenType.DM_Preproc_ConstantString => (string?)dirToken.Value,
TokenType.DM_Preproc_Punctuator_Period => ".",
_ =>null
_ => null
};

if (dirTokenValue is null) {
Expand Down

0 comments on commit 4b0510c

Please sign in to comment.