]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: remove some unused consts from the old yacc parser
authorMatthew Dempsky <mdempsky@google.com>
Tue, 1 Mar 2016 04:11:33 +0000 (20:11 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 1 Mar 2016 04:30:46 +0000 (04:30 +0000)
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>

src/cmd/compile/internal/gc/go.go

index 68d0ded631caff160aa5da87660f31302985946c..df460f8ddcec715127482b03c7769033ab8d873d 100644 (file)
@@ -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