Skip to content

Commit

Permalink
add another comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ike709 authored Nov 27, 2024
1 parent 7b358e7 commit d013861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DMCompiler/Compiler/DMPreprocessor/DMPreprocessorLexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public Token NextToken(bool ignoreWhitespace = false) {
var trimEnd = complexDelimiter.Length;
if (TokenTextBuilder[^(complexDelimiter.Length + 1)] == '\n') trimEnd += 1;
if (TokenTextBuilder[^(complexDelimiter.Length + 2)] == '\r') trimEnd += 1;
var trimStart = 3 + complexDelimiter.Length;
var trimStart = 3 + complexDelimiter.Length; // 3 is from these chars: @()
value = TokenTextBuilder.ToString(trimStart, TokenTextBuilder.Length - (trimStart + trimEnd));
}
else if (isLong) {
Expand Down

0 comments on commit d013861

Please sign in to comment.