Parser diagnostics
This commit is contained in:
@@ -241,7 +241,7 @@ public sealed class Tokenizer
|
||||
if (_sourceFile != null)
|
||||
{
|
||||
var start = CalculateSourceLocation(tokenStartIndex);
|
||||
var end = CalculateSourceLocation(_index + 1);
|
||||
var end = CalculateSourceLocation(_index);
|
||||
return new SourceFileSpan(_sourceFile, new SourceSpan(start, end));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user