scanner.Scanner: rename NextLine() to NewLine()

Signed-off-by: Alejandro Mery <amery@geeks.cl>
This commit is contained in:
2014-10-25 23:17:03 +02:00
parent 42a75bf4d9
commit 538ebfe37b
+2 -2
View File
@@ -74,8 +74,8 @@ func (l *Scanner) Skip() {
l.runes = 0
}
// Count NewLine
func (l *Scanner) NextLine() {
// NewLine accounts a line break in the position of the cursor
func (l *Scanner) NewLine() {
l.cursor.Line++
l.cursor.Column = 1
}