]> Cypherpunks repositories - gostls13.git/commit
text/template: remove unused lexer field
authorAriel Mashraki <ariel@mashraki.co.il>
Tue, 18 Jul 2017 19:14:17 +0000 (22:14 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 9 Nov 2017 21:24:21 +0000 (21:24 +0000)
commit2f53fb58a8664c96a770bfb8c8d1b0596fbae481
tree5bfc08e4116161378d07225344a8c61a62d75835
parent1c322524ada678c26b831c7e88525e65130a0880
text/template: remove unused lexer field

The lastPos field used in the past to track the line number of a token.
it's irrelevant anymore, and we can remove it.

Change-Id: I42c0bf55e884b79574a7da4926489f2d77618cd0
Reviewed-on: https://go-review.googlesource.com/49591
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/text/template/parse/lex.go