]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: merge casep and casee labels
authorMiquel Sabaté Solà <mikisabate@gmail.com>
Tue, 11 Dec 2012 17:23:04 +0000 (12:23 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 11 Dec 2012 17:23:04 +0000 (12:23 -0500)
commit0dd0e1ad0c4fdd7e4090d588150628147b4171e3
tree77fc90c8912cdd99a2e90fa71ae287f15caf6961
parent3c6c88319eeb4b6fe0b599d894bbb0d8f50a116f
cmd/gc: merge casep and casee labels

The code inside the casee and casep labels can perfectly be merged since
they essentially do the same. The character to be stored where cp points is
just the character contained by the c variable.

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/6845112
src/cmd/gc/lex.c