diff --git a/internal/position/position.go b/internal/position/position.go index 9086d33..c356adc 100644 --- a/internal/position/position.go +++ b/internal/position/position.go @@ -143,7 +143,7 @@ func (b *Builder) NewTokensPosition( pos.EndLine = endToken.Position.EndLine pos.StartPos = startToken.Position.StartPos pos.EndPos = endToken.Position.EndPos - pos.StartCol = endToken.Position.StartCol + pos.StartCol = startToken.Position.StartCol pos.EndCol = endToken.Position.EndCol return pos