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
This commit is contained in:
Jung-uk Kim 2014-11-13 00:46:53 +00:00
parent 0e73f29ae2
commit 468bac7080

View File

@ -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}