mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 04:43:03 +00:00
(parse_union_decl): Update. (parse_macro_decl): Rename parse_muscle_decl. Update to use renamed functions and variable. (read_declarations, copy_action, read_additionnal_code, : Updated with correct variables and functions names. (packsymbols, reader): Likewise. * src/reader.h (muscle_obstack): Extern declaration update. * src/output.c: Include muscle_tab.h In all functions using macro_insert, change by using muscle_insert (). (macro_obstack): Rename muscle_obstack. Echo modifications in the whole file. (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT. (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING. (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX. * src/muscle_tab.h: Update double inclusion macros. (macro_entry_s): Rename muscle_entry_s. Update prototypes. * src/muscle_tab.c: Include muscle_tab.h. Rename macro_tabble to muscle_table. (mhash1, mhash2, mcmp): Use muscle_entry. (macro_init): Rename muscle_init. Update. (macro_insert): Rename muscle_insert. Update. (macro_find): Rename muscle_find. Update. * src/main.c: Include muscle_tab.h. (main): Call muscle_init (). * src/Makefile.am (bison_SOURCES): Echo modifications.
33 lines
1008 B
Makefile
33 lines
1008 B
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 \
|
|
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 \
|
|
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
|