]> Cypherpunks repositories - gostls13.git/commit
cmd/yacc: error rather than panic when TEMPSIZE is too small
authorIan Lance Taylor <iant@golang.org>
Wed, 22 Jun 2016 13:27:31 +0000 (06:27 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 23 Jun 2016 04:29:35 +0000 (04:29 +0000)
commitb31ec5c564f02cf48d177853fd7bff9892be7ce6
tree1d0446063c417a2fea6496c7378d57bc41b14644
parent0dae2fd149537a0385b48bbd1564b3cfefa1c85b
cmd/yacc: error rather than panic when TEMPSIZE is too small

I tried simply increasing the size of the slice but then I got an error
because NSTATES was too small. Leaving a real fix for after 1.7.

Update #16144.

Change-Id: I8676772cb79845dd4ca1619977d4d54a2ce6de59
Reviewed-on: https://go-review.googlesource.com/24321
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/yacc/yacc.go