go/src
Rob Pike 37cee77ac6 text/template: allow {{else if ... }} to simplify if chains
The method is simple: the parser just parses

        {{if A}}a{{else if B}}b{{end}}

to the same tree that would be produced by

        {{if A}}a{{else}}{{if B}}b{{end}}{{end}}

Thus no changes are required in text/template itself
or in html/template, only in text/template/parse.

Fixes #6085

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/13327043
2013-08-28 14:43:56 +10:00
..
cmd cmd/gc: tag builtin error, byte, rune to avoid exporting them. 2013-08-27 21:18:32 +02:00
lib9 all: compiler/bootstrap for dragonfly/amd64 2013-08-24 01:18:04 +10:00
libbio libbio: add casts to remove -Wconversion warnings 2013-08-03 11:36:47 -07:00
libmach all: compiler/bootstrap for dragonfly/amd64 2013-08-24 01:18:04 +10:00
pkg text/template: allow {{else if ... }} to simplify if chains 2013-08-28 14:43:56 +10:00
Make.dist
all.bash
all.bat all.bat,make.bat,run.bat: make these work even when directory has space in it 2013-03-25 12:13:34 +11:00
all.rc build: do not set GOBIN on Plan 9 2013-02-26 09:25:46 -08:00
clean.bash
clean.bat
clean.rc
make.bash make.bash: exit if dist fails 2013-08-19 11:18:43 +10:00
make.bat cmd/dist: fix windows build. 2013-08-02 14:29:04 -07:00
make.rc build: fix make.rc on Plan 9 2013-05-24 13:55:19 -07:00
race.bash
race.bat src: add race.bat 2013-02-03 00:49:37 +08:00
run.bash runtime.cmd/ld: Add ARM external linking and implement -shared in terms of external linking 2013-08-14 15:38:54 +00:00
run.bat runtime/race: add end-to-end test on windows 2013-08-15 12:13:00 +10:00
run.rc build: remove builder from test suite (fix build) 2013-08-01 13:49:00 +10:00
sudo.bash cmd/cov: delete 2013-05-24 11:06:06 -07:00