]> Cypherpunks repositories - gostls13.git/commit
text/template/parse: use correct line number in error after comment
authoryincong <yincong@baidu.com>
Sun, 22 Sep 2024 08:05:02 +0000 (08:05 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 23 Sep 2024 18:02:15 +0000 (18:02 +0000)
commit7d114b5b71a03aa90fc560878acf19cc7251d216
tree492a15412300edc64fb436b31ab426092babcf38
parent530fbb283c911d97238cc5cacecc6b409ee7df88
text/template/parse: use correct line number in error after comment

Fixes #69526

Change-Id: I42467ddec02e91f24bce87185bf8d7f16f8811b0
GitHub-Last-Rev: 039a5b6884aa65f34cecbfcd127861a703a048da
GitHub-Pull-Request: golang/go#69532
Reviewed-on: https://go-review.googlesource.com/c/go/+/614375
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
src/text/template/parse/lex.go
src/text/template/parse/lex_test.go