mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 21:03:04 +00:00
is now an option_table_struct*. (option_strcmp): New function option_strcmp. (parse_percent_token): Call option_strcmp. * src/getargs.c (xalloc.h, options.h): Include it. (getargs): Call create_long_option_table. (getargs): Free longopts at the end of the function. (shortopts): Move in options.c. * src/options.c (create_long_option_table): New function. Convert information from option_table to option structure. * src/reader.c (options.h): Include it. * src/Makefile.am: Adjust. * src/options.c (option_table): Create from longopts and percent_table. * src/getargs.c (longopts): Delete. * src/lex.c (struct percent_table_struct): Delete. (percent_table): Delete. (options.h): Include it. * src/options.c: Create. * src/options.h: Create. Declare enum opt_access_e. Define struct option_table_struct.
33 lines
1.0 KiB
Makefile
33 lines
1.0 KiB
Makefile
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
|
AUTOMAKE_OPTIONS = 1.4 ../lib/ansi2knr
|
|
DEFS = @DEFS@ \
|
|
-DBISON_SIMPLE=\"$(pkgdatadir)/bison.simple\" \
|
|
-DBISON_HAIRY=\"$(pkgdatadir)/bison.hairy\" \
|
|
-DLOCALEDIR=\"$(datadir)/locale\"
|
|
|
|
INCLUDES = -I../intl -I$(top_srcdir)/lib -I..
|
|
LDADD = @INTLLIBS@ ../lib/libbison.a
|
|
|
|
bin_PROGRAMS = bison
|
|
|
|
bison_SOURCES = LR0.c closure.c complain.c conflicts.c \
|
|
derives.c \
|
|
files.c getargs.c gram.c lalr.c lex.c main.c nullable.c \
|
|
output.c print_graph.c \
|
|
muscle_tab.c options.c \
|
|
print.c reader.c reduce.c symtab.c warshall.c vcg.c
|
|
|
|
EXTRA_bison_SOURCES = vmsgetargs.c
|
|
|
|
noinst_HEADERS = LR0.h closure.h complain.h conflicts.h \
|
|
derives.h \
|
|
files.h getargs.h gram.h lalr.h lex.h nullable.h \
|
|
output.h print_graph.h \
|
|
muscle_tab.h options.h \
|
|
print.h reader.h reduce.h state.h symtab.h warshall.h system.h \
|
|
types.h vcg.h vcg_defaults.h
|
|
|
|
pkgdata_DATA = bison.simple bison.hairy
|
|
|
|
EXTRA_DIST = $(pkgdata_DATA) build.com bison.cld vmshlp.mar
|