aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2016-02-29 20:11:33 -0800
committerMatthew Dempsky <mdempsky@google.com>2016-03-01 04:30:46 +0000
commit55e7636f9c251f2dbff3daa1924071bc11df28a8 (patch)
tree4ab880d3ccf61d5d14230a6751edafdc4e8a6eec /src
parent50674532719cad7bbdbcce5027f3510633eeed73 (diff)
downloadgo-55e7636f9c251f2dbff3daa1924071bc11df28a8.tar.xz
cmd/compile: remove some unused consts from the old yacc parser
Change-Id: I42f370b987fcc85201f7aaa055b9e58ee9b9a99e Reviewed-on: https://go-review.googlesource.com/20079 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Dave Cheney <dave@cheney.net> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/gc/go.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cmd/compile/internal/gc/go.go b/src/cmd/compile/internal/gc/go.go
index 68d0ded631..df460f8ddc 100644
--- a/src/cmd/compile/internal/gc/go.go
+++ b/src/cmd/compile/internal/gc/go.go
@@ -10,16 +10,7 @@ import (
"cmd/internal/obj"
)
-// The parser's maximum stack size.
-// We have to use a #define macro here since yacc
-// or bison will check for its definition and use
-// a potentially smaller value if it is undefined.
const (
- NHUNK = 50000
- BUFSIZ = 8192
- NSYMB = 500
- NHASH = 1024
- MAXALIGN = 7
UINF = 100
PRIME1 = 3
BADWIDTH = -1000000000