diff options
author | jkim <jkim@FreeBSD.org> | 2014-11-13 00:46:53 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2014-11-13 00:46:53 +0000 |
commit | 18e43996ed42ace1467606199ad084a5cea9f6da (patch) | |
tree | 2061be7338c17e43b965356ff5f4493c4bc68b39 /usr.bin | |
parent | 2470d86c17712819a3084a0114ee0881ef807d69 (diff) | |
download | FreeBSD-src-18e43996ed42ace1467606199ad084a5cea9f6da.zip FreeBSD-src-18e43996ed42ace1467606199ad084a5cea9f6da.tar.gz |
Increase MAXTABLE to the maxmimum possible value. The default value is too
low for complex parsers. Note it was one of those memory optimization hacks
back in the day.
MFC after: 1 week
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/yacc/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/yacc/Makefile b/usr.bin/yacc/Makefile index 45e7929..c110f3f 100644 --- a/usr.bin/yacc/Makefile +++ b/usr.bin/yacc/Makefile @@ -10,9 +10,10 @@ PROG= yacc SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c mstring.c output.c \ reader.c yaccpar.c symtab.c verbose.c warshall.c -CFLAGS+= -DMIXEDCASE_FILENAMES=1 \ - -DHAVE_FCNTL_H=1 \ - -DHAVE_MKSTEMP=1 +CFLAGS+= -DHAVE_FCNTL_H=1 \ + -DHAVE_MKSTEMP=1 \ + -DMAXTABLE=INT_MAX \ + -DMIXEDCASE_FILENAMES=1 YYPATCH!= cat ${BYACC_SRC}/VERSION CFLAGS+= -DYYPATCH=${YYPATCH} |