Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
5897251193 |
@ -10,7 +10,7 @@ func (p *Position) Advance(rn rune) {
|
||||
p.Index++
|
||||
if rn == '\n' {
|
||||
p.Line++
|
||||
p.Column = 0
|
||||
p.Column = 1
|
||||
} else {
|
||||
p.Column++
|
||||
}
|
||||
|
Reference in New Issue
Block a user