]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: do not overflow parser stack on a long chain of else if.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 6 Dec 2012 07:09:17 +0000 (08:09 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 6 Dec 2012 07:09:17 +0000 (08:09 +0100)
commit9146ac14ee1e7516e2bb4212c0fcf054c6dde640
treed94fceae01cdcbf88520fe027af4ea6f4c96be49
parent53d091c5ffdcf2f587274e7e97914fe96b183338
cmd/gc: do not overflow parser stack on a long chain of else if.

Fixes #2615.

R=dave, minux.ma, iant, daniel.morsing, rsc
CC=golang-dev
https://golang.org/cl/6847078
src/cmd/gc/go.y
src/cmd/gc/y.tab.c
src/cmd/gc/y.tab.h
src/cmd/gc/yerr.h
test/fixedbugs/issue2615.go [new file with mode: 0644]