Commit e4a1fb7e authored by Robert Griesemer's avatar Robert Griesemer

- minor bug fix

SVN=126585
parent d5f4d94b
......@@ -387,7 +387,7 @@ func (S *Scanner) LineCol(pos int) (line, col int) {
}
for i := 0; i < pos; i++ {
if src[i] != '\n' {
if src[i] == '\n' {
line++;
lpos = i;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment