diff --git a/DMCompiler/Compiler/DMPreprocessor/DMPreprocessorLexer.cs b/DMCompiler/Compiler/DMPreprocessor/DMPreprocessorLexer.cs index 886272470e..e24db0b3a0 100644 --- a/DMCompiler/Compiler/DMPreprocessor/DMPreprocessorLexer.cs +++ b/DMCompiler/Compiler/DMPreprocessor/DMPreprocessorLexer.cs @@ -411,8 +411,7 @@ public Token NextToken(bool ignoreWhitespace = false) { if (TokenTextBuilder[^(complexDelimiter.Length + 2)] == '\r') trimEnd += 1; var trimStart = 3 + complexDelimiter.Length; // 3 is from these chars: @() value = TokenTextBuilder.ToString(trimStart, TokenTextBuilder.Length - (trimStart + trimEnd)); - } - else if (isLong) { + } else if (isLong) { // Long strings ignore a newline immediately after the @{" and before the "} if (TokenTextBuilder[3] == '\r') TokenTextBuilder.Remove(3, 1);