Commit 55e7636f authored by Matthew Dempsky's avatar Matthew Dempsky

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: default avatarDave Cheney <dave@cheney.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 50674532
...@@ -10,16 +10,7 @@ import ( ...@@ -10,16 +10,7 @@ import (
"cmd/internal/obj" "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 ( const (
NHUNK = 50000
BUFSIZ = 8192
NSYMB = 500
NHASH = 1024
MAXALIGN = 7
UINF = 100 UINF = 100
PRIME1 = 3 PRIME1 = 3
BADWIDTH = -1000000000 BADWIDTH = -1000000000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment