]> Cypherpunks repositories - gostls13.git/commit
exp/template: allow complex numbers, add 'with', 'define', and 'template' keywords.
authorRob Pike <r@golang.org>
Mon, 4 Jul 2011 01:50:35 +0000 (11:50 +1000)
committerRob Pike <r@golang.org>
Mon, 4 Jul 2011 01:50:35 +0000 (11:50 +1000)
commit72efdea20e96cba1b28352c1b0343b510caa8402
treeab746d54a7600248019cef7a1dc98dfd28f868d1
parentdb0e3580225ef11a3a8be0de608cb56ddd4aee55
exp/template: allow complex numbers, add 'with', 'define', and 'template' keywords.
Also simplify the handling of keywords.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4639096
src/pkg/exp/template/lex.go
src/pkg/exp/template/lex_test.go