This commit is contained in:
nub31
2025-09-21 19:21:01 +02:00
parent d96e6cf41a
commit 642d604ecd
8 changed files with 55 additions and 58 deletions

View File

@@ -939,9 +939,9 @@ public sealed class Parser
_tokenIndex++;
}
private IEnumerable<Token> GetTokens(int tokenStartIndex)
private List<Token> GetTokens(int tokenStartIndex)
{
return _tokens.Skip(tokenStartIndex).Take(_tokenIndex - tokenStartIndex);
return _tokens.Skip(tokenStartIndex).Take(_tokenIndex - tokenStartIndex).ToList();
}
}