]> Cypherpunks repositories - gostls13.git/commit
text/template: catch unmatched right delimiter
authorRob Pike <r@golang.org>
Thu, 12 Sep 2013 03:22:56 +0000 (13:22 +1000)
committerRob Pike <r@golang.org>
Thu, 12 Sep 2013 03:22:56 +0000 (13:22 +1000)
commitcaa462137a41f68bbb6d604ab6fa14c3d89fca5b
treea91b1d48308bab5a9d150d2dc5c84ec766f464a3
parentfe62a1f1feadabf6de15e524090c8010449890ff
text/template: catch unmatched right delimiter
It was simply a missing error case: when scanning plain text
outside of an action, a right delimiter should be an error.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/13468045
src/pkg/text/template/parse/lex.go
src/pkg/text/template/parse/lex_test.go
src/pkg/text/template/parse/parse_test.go