mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
Regen.
This commit is contained in:
358
doc/Makefile.in
358
doc/Makefile.in
@@ -1,6 +1,7 @@
|
||||
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
@@ -10,6 +11,7 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
@@ -31,13 +33,9 @@ infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@@ -46,11 +44,11 @@ AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
@@ -59,20 +57,25 @@ PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
AMTAR = @AMTAR@
|
||||
AT_TESTPATH = @AT_TESTPATH@
|
||||
AWK = @AWK@
|
||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EXEEXT = @EXEEXT@
|
||||
GENCAT = @GENCAT@
|
||||
GLIBC21 = @GLIBC21@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLBISON = @INTLBISON@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
@@ -81,9 +84,9 @@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
M4 = @M4@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
@@ -93,6 +96,9 @@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
WARNING_CFLAGS = @WARNING_CFLAGS@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.4
|
||||
|
||||
@@ -103,44 +109,40 @@ bison_TEXINFOS = gpl.texi fdl.texi
|
||||
EXTRA_DIST = FAQ bison.1 bison.rnh refcard.tex
|
||||
|
||||
CLEANFILES = refcard.dvi refcard.log refcard.ps
|
||||
subdir = doc
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
TEXI2DVI = texi2dvi
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_SOURCES =
|
||||
TEXINFO_TEX = $(top_srcdir)/config/texinfo.tex
|
||||
INFO_DEPS = bison.info
|
||||
DVIS = bison.dvi
|
||||
TEXINFOS = bison.texinfo
|
||||
man1dir = $(mandir)/man1
|
||||
MANS = $(man_MANS)
|
||||
|
||||
NROFF = nroff
|
||||
DIST_COMMON = $(bison_TEXINFOS) Makefile.am Makefile.in stamp-vti \
|
||||
version.texi
|
||||
MANS = $(man_MANS)
|
||||
DIST_COMMON = $(bison_TEXINFOS) Makefile.am Makefile.in stamp-vti \
|
||||
version.texi
|
||||
all: all-am
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .dvi .info .ps .texi .texinfo .txi
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
|
||||
.SUFFIXES: .dvi .info .ps .texinfo
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu doc/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
$(srcdir)/version.texi: stamp-vti
|
||||
$(srcdir)/version.texi: $(srcdir)/stamp-vti
|
||||
@:
|
||||
|
||||
$(srcdir)/stamp-vti: bison.texinfo $(top_srcdir)/configure.in
|
||||
@echo "@set UPDATED `$(SHELL) $(top_srcdir)/config/mdate-sh $(srcdir)/bison.texinfo`" > vti.tmp
|
||||
@echo "@set EDITION $(VERSION)" >> vti.tmp
|
||||
@echo "@set VERSION $(VERSION)" >> vti.tmp
|
||||
@(set `$(SHELL) $(top_srcdir)/config/mdate-sh $(srcdir)/bison.texinfo`; \
|
||||
echo "@set UPDATED $$1 $$2 $$3"; \
|
||||
echo "@set UPDATED-MONTH $$2 $$3"; \
|
||||
echo "@set EDITION $(VERSION)"; \
|
||||
echo "@set VERSION $(VERSION)") > vti.tmp
|
||||
@cmp -s vti.tmp $(srcdir)/version.texi \
|
||||
|| (echo "Updating $(srcdir)/version.texi"; \
|
||||
cp vti.tmp $(srcdir)/version.texi)
|
||||
@@ -150,134 +152,84 @@ $(srcdir)/stamp-vti: bison.texinfo $(top_srcdir)/configure.in
|
||||
mostlyclean-vti:
|
||||
-rm -f vti.tmp
|
||||
|
||||
clean-vti:
|
||||
|
||||
distclean-vti:
|
||||
|
||||
maintainer-clean-vti:
|
||||
-rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
|
||||
|
||||
bison.info: bison.texinfo version.texi $(bison_TEXINFOS)
|
||||
bison.dvi: bison.texinfo version.texi $(bison_TEXINFOS)
|
||||
|
||||
|
||||
DVIPS = dvips
|
||||
|
||||
.texi.info:
|
||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
cd $(srcdir) \
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texi.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/config/texinfo.tex:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.texi:
|
||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
cd $(srcdir) \
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
bison.info: bison.texinfo $(srcdir)/version.texi $(bison_TEXINFOS)
|
||||
bison.dvi: bison.texinfo $(srcdir)/version.texi $(bison_TEXINFOS)
|
||||
|
||||
.texinfo.info:
|
||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
cd $(srcdir) \
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
&& $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
|
||||
`echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texinfo.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/config:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
||||
$(TEXI2DVI) $<
|
||||
|
||||
.texinfo:
|
||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
cd $(srcdir) \
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
&& $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
|
||||
`echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texinfo.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/config/texinfo.tex:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi.info:
|
||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
cd $(srcdir) \
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.txi.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/config/texinfo.tex:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi:
|
||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
cd $(srcdir) \
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
MAKEINFO = @MAKEINFO@
|
||||
TEXI2DVI = texi2dvi
|
||||
DVIPS = dvips
|
||||
.dvi.ps:
|
||||
$(DVIPS) $< -o $@
|
||||
|
||||
install-info-am: $(INFO_DEPS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
d=$(srcdir); \
|
||||
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
||||
if test -f $$d/$$ifile; then \
|
||||
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
||||
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
|
||||
else : ; fi; \
|
||||
done; \
|
||||
done
|
||||
@$(POST_INSTALL)
|
||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||
uninstall-info-am:
|
||||
$(PRE_UNINSTALL)
|
||||
@if (install-info --version && \
|
||||
install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
||||
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
|
||||
echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
|
||||
install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
|
||||
done; \
|
||||
else : ; fi
|
||||
|
||||
uninstall-info:
|
||||
$(PRE_UNINSTALL)
|
||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||
ii=yes; \
|
||||
else ii=; fi; \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
test -z "$$ii" \
|
||||
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
|
||||
done
|
||||
else :; fi
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(INFO_DEPS)'; \
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
||||
(if cd $(DESTDIR)$(infodir); then \
|
||||
echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
|
||||
rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
|
||||
else :; fi); \
|
||||
done
|
||||
|
||||
dist-info: $(INFO_DEPS)
|
||||
list='$(INFO_DEPS)'; \
|
||||
for base in $$list; do \
|
||||
d=$(srcdir); \
|
||||
for file in `cd $$d && eval echo $$base*`; do \
|
||||
for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||
done; \
|
||||
done
|
||||
|
||||
mostlyclean-aminfo:
|
||||
-rm -f bison.aux bison.cp bison.cps bison.dvi bison.fn bison.fns \
|
||||
bison.ky bison.kys bison.ps bison.log bison.pg bison.toc \
|
||||
bison.tp bison.tps bison.vr bison.vrs bison.op bison.tr \
|
||||
bison.cv bison.cn
|
||||
|
||||
clean-aminfo:
|
||||
|
||||
distclean-aminfo:
|
||||
-rm -f bison.aux bison.cp bison.cps bison.dvi bison.fn bison.ky bison.log \
|
||||
bison.pg bison.ps bison.toc bison.tp bison.vr
|
||||
|
||||
maintainer-clean-aminfo:
|
||||
cd $(srcdir) && for i in $(INFO_DEPS); do \
|
||||
cd $(srcdir) && \
|
||||
for i in $(INFO_DEPS); do \
|
||||
rm -f $$i; \
|
||||
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
|
||||
rm -f $$i-[0-9]*; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
install-man1:
|
||||
man1dir = $(mandir)/man1
|
||||
install-man1: $(man1_MANS) $(man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||
@list='$(man1_MANS)'; \
|
||||
l2='$(man_MANS)'; for i in $$l2; do \
|
||||
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
@@ -287,14 +239,16 @@ install-man1:
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||
done
|
||||
|
||||
uninstall-man1:
|
||||
@list='$(man1_MANS)'; \
|
||||
l2='$(man_MANS)'; for i in $$l2; do \
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
@@ -302,113 +256,147 @@ uninstall-man1:
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
||||
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||
done
|
||||
install-man: $(MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
||||
uninstall-man:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
subdir = doc
|
||||
top_distdir = ..
|
||||
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
||||
info-am: $(INFO_DEPS)
|
||||
info: info-am
|
||||
dvi-am: $(DVIS)
|
||||
dvi: dvi-am
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||
dist-info
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
installcheck-am:
|
||||
installcheck: installcheck-am
|
||||
install-exec-am:
|
||||
install-exec: install-exec-am
|
||||
all-am: Makefile $(INFO_DEPS) $(MANS)
|
||||
|
||||
install-data-am: install-info-am install-man
|
||||
installdirs:
|
||||
$(mkinstalldirs) $(DESTDIR)$(infodir) $(DESTDIR)$(man1dir)
|
||||
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-am
|
||||
uninstall-am: uninstall-info uninstall-man
|
||||
uninstall: uninstall-am
|
||||
all-am: Makefile $(INFO_DEPS) $(MANS)
|
||||
all-redirect: all-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs:
|
||||
$(mkinstalldirs) $(DESTDIR)$(infodir) $(DESTDIR)$(mandir)/man1
|
||||
|
||||
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
clean-am: clean-vti clean-aminfo clean-generic mostlyclean-am
|
||||
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
distclean-am: distclean-vti distclean-aminfo distclean-generic clean-am
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
|
||||
maintainer-clean-am: maintainer-clean-vti maintainer-clean-aminfo \
|
||||
maintainer-clean-generic distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am: $(DVIS)
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am: $(INFO_DEPS)
|
||||
|
||||
install-data-am: install-info-am install-man
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am: $(INFO_DEPS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
d=$(srcdir); \
|
||||
for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
||||
if test -f $$d/$$ifile; then \
|
||||
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
||||
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
|
||||
else : ; fi; \
|
||||
done; \
|
||||
done
|
||||
@$(POST_INSTALL)
|
||||
@if (install-info --version && \
|
||||
install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
||||
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
|
||||
done; \
|
||||
else : ; fi
|
||||
install-man: install-man1
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
|
||||
.PHONY: mostlyclean-vti distclean-vti clean-vti maintainer-clean-vti \
|
||||
install-info-am uninstall-info mostlyclean-aminfo distclean-aminfo \
|
||||
clean-aminfo maintainer-clean-aminfo install-man1 uninstall-man1 \
|
||||
install-man uninstall-man tags distdir info-am info dvi-am dvi check \
|
||||
check-am installcheck-am installcheck install-exec-am install-exec \
|
||||
install-data-am install-data install-am install uninstall-am uninstall \
|
||||
all-redirect all-am all installdirs mostlyclean-generic \
|
||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
||||
mostlyclean distclean maintainer-clean
|
||||
maintainer-clean-am: distclean-am maintainer-clean-aminfo \
|
||||
maintainer-clean-generic maintainer-clean-vti
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
|
||||
|
||||
uninstall-am: uninstall-info-am uninstall-man
|
||||
|
||||
uninstall-man: uninstall-man1
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic dist-info \
|
||||
distclean distclean-generic distdir dvi dvi-am info info-am \
|
||||
install install-am install-data install-data-am install-exec \
|
||||
install-exec-am install-info install-info-am install-man \
|
||||
install-man1 install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-aminfo \
|
||||
maintainer-clean-generic maintainer-clean-vti mostlyclean \
|
||||
mostlyclean-aminfo mostlyclean-generic mostlyclean-vti \
|
||||
uninstall uninstall-am uninstall-info-am uninstall-man \
|
||||
uninstall-man1
|
||||
|
||||
|
||||
refcard.dvi: refcard.tex
|
||||
tex refcard.tex
|
||||
|
||||
refcard.ps: refcard.dvi
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
||||
212
doc/bison.info
212
doc/bison.info
@@ -1,5 +1,5 @@
|
||||
Ceci est le fichier Info bison.info, produit par Makeinfo version 4.0b
|
||||
à partir bison.texinfo.
|
||||
This is bison.info, produced by makeinfo version 4.0b from
|
||||
bison.texinfo.
|
||||
|
||||
START-INFO-DIR-ENTRY
|
||||
* bison: (bison). GNU Project parser generator (yacc replacement).
|
||||
@@ -30,112 +30,112 @@ instead of in the original English.
|
||||
|
||||
|
||||
Indirect:
|
||||
bison.info-1: 1313
|
||||
bison.info-2: 50357
|
||||
bison.info-3: 99982
|
||||
bison.info-4: 148180
|
||||
bison.info-5: 190964
|
||||
bison.info-1: 1292
|
||||
bison.info-2: 50351
|
||||
bison.info-3: 99751
|
||||
bison.info-4: 147940
|
||||
bison.info-5: 190640
|
||||
|
||||
Tag Table:
|
||||
(Indirect)
|
||||
Node: Top1313
|
||||
Node: Introduction8698
|
||||
Node: Conditions9973
|
||||
Node: Copying11437
|
||||
Node: Concepts30640
|
||||
Node: Language and Grammar31719
|
||||
Node: Grammar in Bison36735
|
||||
Node: Semantic Values38659
|
||||
Node: Semantic Actions40760
|
||||
Node: Locations Overview41949
|
||||
Node: Bison Parser43396
|
||||
Node: Stages45708
|
||||
Node: Grammar Layout46991
|
||||
Node: Examples48248
|
||||
Node: RPN Calc49383
|
||||
Node: Rpcalc Decls50357
|
||||
Node: Rpcalc Rules51944
|
||||
Node: Rpcalc Input53744
|
||||
Node: Rpcalc Line55205
|
||||
Node: Rpcalc Expr56320
|
||||
Node: Rpcalc Lexer58265
|
||||
Node: Rpcalc Main60837
|
||||
Node: Rpcalc Error61235
|
||||
Node: Rpcalc Gen62243
|
||||
Node: Rpcalc Compile63392
|
||||
Node: Infix Calc64267
|
||||
Node: Simple Error Recovery66974
|
||||
Node: Multi-function Calc68860
|
||||
Node: Mfcalc Decl70426
|
||||
Node: Mfcalc Rules72449
|
||||
Node: Mfcalc Symtab73829
|
||||
Node: Exercises80202
|
||||
Node: Grammar File80708
|
||||
Node: Grammar Outline81556
|
||||
Node: C Declarations82290
|
||||
Node: Bison Declarations82870
|
||||
Node: Grammar Rules83282
|
||||
Node: C Code83742
|
||||
Node: Symbols84672
|
||||
Node: Rules89753
|
||||
Node: Recursion91392
|
||||
Node: Semantics93111
|
||||
Node: Value Type94205
|
||||
Node: Multiple Types94877
|
||||
Node: Actions95894
|
||||
Node: Action Types98679
|
||||
Node: Mid-Rule Actions99982
|
||||
Node: Locations105552
|
||||
Node: Location Type106200
|
||||
Node: Actions and Locations106758
|
||||
Node: Location Default Action108914
|
||||
Node: Declarations110377
|
||||
Node: Token Decl111696
|
||||
Node: Precedence Decl113709
|
||||
Node: Union Decl115260
|
||||
Node: Type Decl116104
|
||||
Node: Expect Decl117010
|
||||
Node: Start Decl118556
|
||||
Node: Pure Decl118934
|
||||
Node: Decl Summary120611
|
||||
Node: Multiple Parsers125994
|
||||
Node: Interface127488
|
||||
Node: Parser Function128360
|
||||
Node: Lexical129195
|
||||
Node: Calling Convention130601
|
||||
Node: Token Values133372
|
||||
Node: Token Positions134521
|
||||
Node: Pure Calling135406
|
||||
Node: Error Reporting138338
|
||||
Node: Action Features140460
|
||||
Node: Algorithm143755
|
||||
Node: Look-Ahead146048
|
||||
Node: Shift/Reduce148180
|
||||
Node: Precedence151092
|
||||
Node: Why Precedence151743
|
||||
Node: Using Precedence153608
|
||||
Node: Precedence Examples154576
|
||||
Node: How Precedence155277
|
||||
Node: Contextual Precedence156426
|
||||
Node: Parser States158217
|
||||
Node: Reduce/Reduce159460
|
||||
Node: Mystery Conflicts163021
|
||||
Node: Stack Overflow166407
|
||||
Node: Error Recovery167780
|
||||
Node: Context Dependency172916
|
||||
Node: Semantic Tokens173764
|
||||
Node: Lexical Tie-ins176781
|
||||
Node: Tie-in Recovery178329
|
||||
Node: Debugging180501
|
||||
Node: Invocation183802
|
||||
Node: Bison Options185054
|
||||
Node: Environment Variables188488
|
||||
Node: Option Cross Key189336
|
||||
Node: VMS Invocation190180
|
||||
Node: Table of Symbols190964
|
||||
Node: Glossary198603
|
||||
Node: Copying This Manual204907
|
||||
Node: GNU Free Documentation License205116
|
||||
Node: Index224981
|
||||
Node: Top1292
|
||||
Node: Introduction8694
|
||||
Node: Conditions9969
|
||||
Node: Copying11433
|
||||
Node: Concepts30636
|
||||
Node: Language and Grammar31715
|
||||
Node: Grammar in Bison36731
|
||||
Node: Semantic Values38655
|
||||
Node: Semantic Actions40756
|
||||
Node: Locations Overview41945
|
||||
Node: Bison Parser43392
|
||||
Node: Stages45704
|
||||
Node: Grammar Layout46987
|
||||
Node: Examples48243
|
||||
Node: RPN Calc49378
|
||||
Node: Rpcalc Decls50351
|
||||
Node: Rpcalc Rules51916
|
||||
Node: Rpcalc Input53716
|
||||
Node: Rpcalc Line55177
|
||||
Node: Rpcalc Expr56292
|
||||
Node: Rpcalc Lexer58237
|
||||
Node: Rpcalc Main60809
|
||||
Node: Rpcalc Error61207
|
||||
Node: Rpcalc Gen62215
|
||||
Node: Rpcalc Compile63345
|
||||
Node: Infix Calc64220
|
||||
Node: Simple Error Recovery66927
|
||||
Node: Multi-function Calc68813
|
||||
Node: Mfcalc Decl70379
|
||||
Node: Mfcalc Rules72402
|
||||
Node: Mfcalc Symtab73782
|
||||
Node: Exercises80155
|
||||
Node: Grammar File80661
|
||||
Node: Grammar Outline81509
|
||||
Node: Prologue82197
|
||||
Node: Bison Declarations82737
|
||||
Node: Grammar Rules83143
|
||||
Node: Epilogue83605
|
||||
Node: Symbols84455
|
||||
Node: Rules89536
|
||||
Node: Recursion91175
|
||||
Node: Semantics92894
|
||||
Node: Value Type93988
|
||||
Node: Multiple Types94646
|
||||
Node: Actions95663
|
||||
Node: Action Types98448
|
||||
Node: Mid-Rule Actions99751
|
||||
Node: Locations105321
|
||||
Node: Location Type105969
|
||||
Node: Actions and Locations106527
|
||||
Node: Location Default Action108683
|
||||
Node: Declarations110146
|
||||
Node: Token Decl111465
|
||||
Node: Precedence Decl113478
|
||||
Node: Union Decl115029
|
||||
Node: Type Decl115873
|
||||
Node: Expect Decl116779
|
||||
Node: Start Decl118325
|
||||
Node: Pure Decl118703
|
||||
Node: Decl Summary120380
|
||||
Node: Multiple Parsers125763
|
||||
Node: Interface127257
|
||||
Node: Parser Function128120
|
||||
Node: Lexical128955
|
||||
Node: Calling Convention130361
|
||||
Node: Token Values133132
|
||||
Node: Token Positions134281
|
||||
Node: Pure Calling135166
|
||||
Node: Error Reporting138098
|
||||
Node: Action Features140220
|
||||
Node: Algorithm143515
|
||||
Node: Look-Ahead145808
|
||||
Node: Shift/Reduce147940
|
||||
Node: Precedence150852
|
||||
Node: Why Precedence151503
|
||||
Node: Using Precedence153368
|
||||
Node: Precedence Examples154336
|
||||
Node: How Precedence155037
|
||||
Node: Contextual Precedence156186
|
||||
Node: Parser States157977
|
||||
Node: Reduce/Reduce159220
|
||||
Node: Mystery Conflicts162781
|
||||
Node: Stack Overflow166167
|
||||
Node: Error Recovery167540
|
||||
Node: Context Dependency172676
|
||||
Node: Semantic Tokens173524
|
||||
Node: Lexical Tie-ins176541
|
||||
Node: Tie-in Recovery178055
|
||||
Node: Debugging180227
|
||||
Node: Invocation183478
|
||||
Node: Bison Options184730
|
||||
Node: Environment Variables188164
|
||||
Node: Option Cross Key189012
|
||||
Node: VMS Invocation189856
|
||||
Node: Table of Symbols190640
|
||||
Node: Glossary198241
|
||||
Node: Copying This Manual204545
|
||||
Node: GNU Free Documentation License204754
|
||||
Node: Index224619
|
||||
|
||||
End Tag Table
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Ceci est le fichier Info bison.info, produit par Makeinfo version 4.0b
|
||||
à partir bison.texinfo.
|
||||
This is bison.info, produced by makeinfo version 4.0b from
|
||||
bison.texinfo.
|
||||
|
||||
START-INFO-DIR-ENTRY
|
||||
* bison: (bison). GNU Project parser generator (yacc replacement).
|
||||
@@ -87,7 +87,7 @@ Examples
|
||||
|
||||
Reverse Polish Notation Calculator
|
||||
|
||||
* Decls: Rpcalc Decls. Bison and C declarations for rpcalc.
|
||||
* Decls: Rpcalc Decls. Prologue (declarations) for rpcalc.
|
||||
* Rules: Rpcalc Rules. Grammar Rules for rpcalc, with explanation.
|
||||
* Lexer: Rpcalc Lexer. The lexical analyzer.
|
||||
* Main: Rpcalc Main. The controlling function.
|
||||
@@ -119,10 +119,10 @@ Bison Grammar Files
|
||||
|
||||
Outline of a Bison Grammar
|
||||
|
||||
* C Declarations:: Syntax and usage of the C declarations section.
|
||||
* Prologue:: Syntax and usage of the prologue (declarations section).
|
||||
* Bison Declarations:: Syntax and usage of the Bison declarations section.
|
||||
* Grammar Rules:: Syntax and usage of the grammar rules section.
|
||||
* C Code:: Syntax and usage of the additional C code section.
|
||||
* Epilogue:: Syntax and usage of the epilogue (additional code section).
|
||||
|
||||
Defining Language Semantics
|
||||
|
||||
@@ -981,7 +981,7 @@ The Overall Layout of a Bison Grammar
|
||||
general form of a Bison grammar file is as follows:
|
||||
|
||||
%{
|
||||
C DECLARATIONS
|
||||
PROLOGUE (DECLARATIONS)
|
||||
%}
|
||||
|
||||
BISON DECLARATIONS
|
||||
@@ -989,15 +989,14 @@ general form of a Bison grammar file is as follows:
|
||||
%%
|
||||
GRAMMAR RULES
|
||||
%%
|
||||
ADDITIONAL C CODE
|
||||
EPILOGUE (ADDITIONAL CODE)
|
||||
|
||||
The `%%', `%{' and `%}' are punctuation that appears in every Bison
|
||||
grammar file to separate the sections.
|
||||
|
||||
The C declarations may define types and variables used in the
|
||||
actions. You can also use preprocessor commands to define macros used
|
||||
there, and use `#include' to include header files that do any of these
|
||||
things.
|
||||
The prologue may define types and variables used in the actions. You
|
||||
can also use preprocessor commands to define macros used there, and use
|
||||
`#include' to include header files that do any of these things.
|
||||
|
||||
The Bison declarations declare the names of the terminal and
|
||||
nonterminal symbols, and may also describe operator precedence and the
|
||||
@@ -1006,10 +1005,10 @@ data types of semantic values of various symbols.
|
||||
The grammar rules define how to construct each nonterminal symbol
|
||||
from its parts.
|
||||
|
||||
The additional C code can contain any C code you want to use. Often
|
||||
the definition of the lexical analyzer `yylex' goes here, plus
|
||||
subroutines called by the actions in the grammar rules. In a simple
|
||||
program, all the rest of the program can go here.
|
||||
The epilogue can contain any code you want to use. Often the
|
||||
definition of the lexical analyzer `yylex' goes here, plus subroutines
|
||||
called by the actions in the grammar rules. In a simple program, all
|
||||
the rest of the program can go here.
|
||||
|
||||
|
||||
File: bison.info, Node: Examples, Next: Grammar File, Prev: Concepts, Up: Top
|
||||
@@ -1055,7 +1054,7 @@ extension is a convention used for Bison input files.
|
||||
|
||||
* Menu:
|
||||
|
||||
* Decls: Rpcalc Decls. Bison and C declarations for rpcalc.
|
||||
* Decls: Rpcalc Decls. Prologue (declarations) for rpcalc.
|
||||
* Rules: Rpcalc Rules. Grammar Rules for rpcalc, with explanation.
|
||||
* Lexer: Rpcalc Lexer. The lexical analyzer.
|
||||
* Main: Rpcalc Main. The controlling function.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Ceci est le fichier Info bison.info, produit par Makeinfo version 4.0b
|
||||
à partir bison.texinfo.
|
||||
This is bison.info, produced by makeinfo version 4.0b from
|
||||
bison.texinfo.
|
||||
|
||||
START-INFO-DIR-ENTRY
|
||||
* bison: (bison). GNU Project parser generator (yacc replacement).
|
||||
@@ -48,8 +48,8 @@ calculator. As in C, comments are placed between `/*...*/'.
|
||||
|
||||
%% /* Grammar rules and actions follow */
|
||||
|
||||
The C declarations section (*note The C Declarations Section: C
|
||||
Declarations.) contains two preprocessor directives.
|
||||
The declarations section (*note The prologue: Prologue.) contains two
|
||||
preprocessor directives.
|
||||
|
||||
The `#define' directive defines the macro `YYSTYPE', thus specifying
|
||||
the C data type for semantic values of both tokens and groupings (*note
|
||||
@@ -359,8 +359,8 @@ Running Bison to Make the Parser
|
||||
arrange all the source code in one or more source files. For such a
|
||||
simple example, the easiest thing is to put everything in one file. The
|
||||
definitions of `yylex', `yyerror' and `main' go at the end, in the
|
||||
"additional C code" section of the file (*note The Overall Layout of a
|
||||
Bison Grammar: Grammar Layout.).
|
||||
epilogue of the file (*note The Overall Layout of a Bison Grammar:
|
||||
Grammar Layout.).
|
||||
|
||||
For a large project, you would probably have several source files,
|
||||
and use `make' to arrange to recompile them.
|
||||
@@ -926,7 +926,7 @@ Outline of a Bison Grammar
|
||||
appropriate delimiters:
|
||||
|
||||
%{
|
||||
C DECLARATIONS
|
||||
PROLOGUE
|
||||
%}
|
||||
|
||||
BISON DECLARATIONS
|
||||
@@ -935,33 +935,33 @@ appropriate delimiters:
|
||||
GRAMMAR RULES
|
||||
%%
|
||||
|
||||
ADDITIONAL C CODE
|
||||
EPILOGUE
|
||||
|
||||
Comments enclosed in `/* ... */' may appear in any of the sections.
|
||||
|
||||
* Menu:
|
||||
|
||||
* C Declarations:: Syntax and usage of the C declarations section.
|
||||
* Prologue:: Syntax and usage of the prologue.
|
||||
* Bison Declarations:: Syntax and usage of the Bison declarations section.
|
||||
* Grammar Rules:: Syntax and usage of the grammar rules section.
|
||||
* C Code:: Syntax and usage of the additional C code section.
|
||||
* Epilogue:: Syntax and usage of the epilogue.
|
||||
|
||||
|
||||
File: bison.info, Node: C Declarations, Next: Bison Declarations, Up: Grammar Outline
|
||||
File: bison.info, Node: Prologue, Next: Bison Declarations, Up: Grammar Outline
|
||||
|
||||
The C Declarations Section
|
||||
--------------------------
|
||||
The prologue
|
||||
------------
|
||||
|
||||
The C DECLARATIONS section contains macro definitions and
|
||||
declarations of functions and variables that are used in the actions in
|
||||
the grammar rules. These are copied to the beginning of the parser
|
||||
file so that they precede the definition of `yyparse'. You can use
|
||||
`#include' to get the declarations from a header file. If you don't
|
||||
need any C declarations, you may omit the `%{' and `%}' delimiters that
|
||||
bracket this section.
|
||||
The PROLOGUE section contains macro definitions and declarations of
|
||||
functions and variables that are used in the actions in the grammar
|
||||
rules. These are copied to the beginning of the parser file so that
|
||||
they precede the definition of `yyparse'. You can use `#include' to
|
||||
get the declarations from a header file. If you don't need any C
|
||||
declarations, you may omit the `%{' and `%}' delimiters that bracket
|
||||
this section.
|
||||
|
||||
|
||||
File: bison.info, Node: Bison Declarations, Next: Grammar Rules, Prev: C Declarations, Up: Grammar Outline
|
||||
File: bison.info, Node: Bison Declarations, Next: Grammar Rules, Prev: Prologue, Up: Grammar Outline
|
||||
|
||||
The Bison Declarations Section
|
||||
------------------------------
|
||||
@@ -972,7 +972,7 @@ some simple grammars you may not need any declarations. *Note Bison
|
||||
Declarations: Declarations.
|
||||
|
||||
|
||||
File: bison.info, Node: Grammar Rules, Next: C Code, Prev: Bison Declarations, Up: Grammar Outline
|
||||
File: bison.info, Node: Grammar Rules, Next: Epilogue, Prev: Bison Declarations, Up: Grammar Outline
|
||||
|
||||
The Grammar Rules Section
|
||||
-------------------------
|
||||
@@ -985,17 +985,17 @@ rules, and nothing else. *Note Syntax of Grammar Rules: Rules.
|
||||
the first thing in the file.
|
||||
|
||||
|
||||
File: bison.info, Node: C Code, Prev: Grammar Rules, Up: Grammar Outline
|
||||
File: bison.info, Node: Epilogue, Prev: Grammar Rules, Up: Grammar Outline
|
||||
|
||||
The Additional C Code Section
|
||||
-----------------------------
|
||||
The epilogue
|
||||
------------
|
||||
|
||||
The ADDITIONAL C CODE section is copied verbatim to the end of the
|
||||
parser file, just as the C DECLARATIONS section is copied to the
|
||||
beginning. This is the most convenient place to put anything that you
|
||||
want to have in the parser file but which need not come before the
|
||||
definition of `yyparse'. For example, the definitions of `yylex' and
|
||||
`yyerror' often go here. *Note Parser C-Language Interface: Interface.
|
||||
The EPILOGUE is copied verbatim to the end of the parser file, just
|
||||
as the PROLOGUE is copied to the beginning. This is the most convenient
|
||||
place to put anything that you want to have in the parser file but
|
||||
which need not come before the definition of `yyparse'. For example,
|
||||
the definitions of `yylex' and `yyerror' often go here. *Note Parser
|
||||
C-Language Interface: Interface.
|
||||
|
||||
If the last section is empty, you may omit the `%%' that separates it
|
||||
from the grammar rules.
|
||||
@@ -1003,7 +1003,7 @@ from the grammar rules.
|
||||
The Bison parser itself contains many static variables whose names
|
||||
start with `yy' and many macros whose names start with `YY'. It is a
|
||||
good idea to avoid using any such names (except those documented in this
|
||||
manual) in the additional C code section of the grammar file.
|
||||
manual) in the epilogue of the grammar file.
|
||||
|
||||
|
||||
File: bison.info, Node: Symbols, Next: Rules, Prev: Grammar Outline, Up: Grammar File
|
||||
@@ -1256,8 +1256,8 @@ specify some other type, define `YYSTYPE' as a macro, like this:
|
||||
|
||||
#define YYSTYPE double
|
||||
|
||||
This macro definition must go in the C declarations section of the
|
||||
grammar file (*note Outline of a Bison Grammar: Grammar Outline.).
|
||||
This macro definition must go in the prologue of the grammar file
|
||||
(*note Outline of a Bison Grammar: Grammar Outline.).
|
||||
|
||||
|
||||
File: bison.info, Node: Multiple Types, Next: Actions, Prev: Value Type, Up: Semantics
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Ceci est le fichier Info bison.info, produit par Makeinfo version 4.0b
|
||||
à partir bison.texinfo.
|
||||
This is bison.info, produced by makeinfo version 4.0b from
|
||||
bison.texinfo.
|
||||
|
||||
START-INFO-DIR-ENTRY
|
||||
* bison: (bison). GNU Project parser generator (yacc replacement).
|
||||
@@ -746,8 +746,8 @@ that it needs to use.
|
||||
|
||||
Keep in mind that the parser uses many C identifiers starting with
|
||||
`yy' and `YY' for internal purposes. If you use such an identifier
|
||||
(aside from those in this manual) in an action or in additional C code
|
||||
in the grammar file, you are likely to run into trouble.
|
||||
(aside from those in this manual) in an action or in epilogue in the
|
||||
grammar file, you are likely to run into trouble.
|
||||
|
||||
* Menu:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Ceci est le fichier Info bison.info, produit par Makeinfo version 4.0b
|
||||
à partir bison.texinfo.
|
||||
This is bison.info, produced by makeinfo version 4.0b from
|
||||
bison.texinfo.
|
||||
|
||||
START-INFO-DIR-ENTRY
|
||||
* bison: (bison). GNU Project parser generator (yacc replacement).
|
||||
@@ -787,10 +787,9 @@ Here we assume that `yylex' looks at the value of `hexflag'; when it is
|
||||
nonzero, all integers are parsed in hexadecimal, and tokens starting
|
||||
with letters are parsed as integers if possible.
|
||||
|
||||
The declaration of `hexflag' shown in the C declarations section of
|
||||
the parser file is needed to make it accessible to the actions (*note
|
||||
The C Declarations Section: C Declarations.). You must also write the
|
||||
code in `yylex' to obey the flag.
|
||||
The declaration of `hexflag' shown in the prologue of the parser file
|
||||
is needed to make it accessible to the actions (*note The Prologue:
|
||||
Prologue.). You must also write the code in `yylex' to obey the flag.
|
||||
|
||||
|
||||
File: bison.info, Node: Tie-in Recovery, Prev: Lexical Tie-ins, Up: Context Dependency
|
||||
@@ -859,15 +858,13 @@ out why.
|
||||
|
||||
To enable compilation of trace facilities, you must define the macro
|
||||
`YYDEBUG' when you compile the parser. You could use `-DYYDEBUG=1' as
|
||||
a compiler option or you could put `#define YYDEBUG 1' in the C
|
||||
declarations section of the grammar file (*note The C Declarations
|
||||
Section: C Declarations.). Alternatively, use the `-t' option when you
|
||||
run Bison (*note Invoking Bison: Invocation.). We always define
|
||||
`YYDEBUG' so that debugging is always possible.
|
||||
a compiler option or you could put `#define YYDEBUG 1' in the prologue
|
||||
of the grammar file (*note The Prologue: Prologue.). Alternatively, use
|
||||
the `-t' option when you run Bison (*note Invoking Bison: Invocation.).
|
||||
We always define `YYDEBUG' so that debugging is always possible.
|
||||
|
||||
The trace facility uses `stderr', so you must add
|
||||
`#include <stdio.h>' to the C declarations section unless it is already
|
||||
there.
|
||||
`#include <stdio.h>' to the prologue unless it is already there.
|
||||
|
||||
Once you have compiled the program with trace facilities, the way to
|
||||
request a trace is to store a nonzero value in the variable `yydebug'.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Ceci est le fichier Info bison.info, produit par Makeinfo version 4.0b
|
||||
à partir bison.texinfo.
|
||||
This is bison.info, produced by makeinfo version 4.0b from
|
||||
bison.texinfo.
|
||||
|
||||
START-INFO-DIR-ENTRY
|
||||
* bison: (bison). GNU Project parser generator (yacc replacement).
|
||||
@@ -220,14 +220,13 @@ Bison Symbols
|
||||
|
||||
`%%'
|
||||
Delimiter used to separate the grammar rule section from the Bison
|
||||
declarations section or the additional C code section. *Note The
|
||||
Overall Layout of a Bison Grammar: Grammar Layout.
|
||||
declarations section or the epilogue. *Note The Overall Layout of
|
||||
a Bison Grammar: Grammar Layout.
|
||||
|
||||
`%{ %}'
|
||||
All code listed between `%{' and `%}' is copied directly to the
|
||||
output file uninterpreted. Such code forms the "C declarations"
|
||||
section of the input file. *Note Outline of a Bison Grammar:
|
||||
Grammar Outline.
|
||||
output file uninterpreted. Such code forms the prologue of the
|
||||
input file. *Note Outline of a Bison Grammar: Grammar Outline.
|
||||
|
||||
`/*...*/'
|
||||
Comment delimiters, as in C.
|
||||
@@ -824,17 +823,17 @@ Index
|
||||
* %token: Token Decl.
|
||||
* %type: Type Decl.
|
||||
* %union: Union Decl.
|
||||
* @$ <1>: Action Features.
|
||||
* @$: Actions and Locations.
|
||||
* @N <1>: Action Features.
|
||||
* @N: Actions and Locations.
|
||||
* @$ <1>: Actions and Locations.
|
||||
* @$: Action Features.
|
||||
* @N <1>: Actions and Locations.
|
||||
* @N: Action Features.
|
||||
* action: Actions.
|
||||
* action data types: Action Types.
|
||||
* action features summary: Action Features.
|
||||
* actions in mid-rule: Mid-Rule Actions.
|
||||
* actions, location: Actions and Locations.
|
||||
* actions, semantic: Semantic Actions.
|
||||
* additional C code section: C Code.
|
||||
* additional C code section: Epilogue.
|
||||
* algorithm of parser: Algorithm.
|
||||
* associativity: Why Precedence.
|
||||
* Backus-Naur form: Language and Grammar.
|
||||
@@ -850,8 +849,7 @@ Index
|
||||
* BISON_HAIRY: Environment Variables.
|
||||
* BISON_SIMPLE: Environment Variables.
|
||||
* BNF: Language and Grammar.
|
||||
* C code, section for additional: C Code.
|
||||
* C declarations section: C Declarations.
|
||||
* C code, section for additional: Epilogue.
|
||||
* C-language interface: Interface.
|
||||
* calc: Infix Calc.
|
||||
* calculator, infix notation: Infix Calc.
|
||||
@@ -871,9 +869,10 @@ Index
|
||||
* data types of semantic values: Value Type.
|
||||
* debugging: Debugging.
|
||||
* declaration summary: Decl Summary.
|
||||
* declarations: Prologue.
|
||||
* declarations section: Prologue.
|
||||
* declarations, Bison: Declarations.
|
||||
* declarations, Bison (introduction): Bison Declarations.
|
||||
* declarations, C: C Declarations.
|
||||
* declaring literal string tokens: Token Decl.
|
||||
* declaring operator precedence: Precedence Decl.
|
||||
* declaring the start symbol: Start Decl.
|
||||
@@ -888,6 +887,7 @@ Index
|
||||
* defining language semantics: Semantics.
|
||||
* else, dangling: Shift/Reduce.
|
||||
* environment variables: Environment Variables.
|
||||
* epilogue: Epilogue.
|
||||
* error: Error Recovery.
|
||||
* error recovery: Error Recovery.
|
||||
* error recovery, simple: Simple Error Recovery.
|
||||
@@ -944,13 +944,14 @@ Index
|
||||
* parser stack overflow: Stack Overflow.
|
||||
* parser state: Parser States.
|
||||
* polish notation calculator: RPN Calc.
|
||||
* position, textual <1>: Locations.
|
||||
* position, textual: Locations Overview.
|
||||
* position, textual <1>: Locations Overview.
|
||||
* position, textual: Locations.
|
||||
* precedence declarations: Precedence Decl.
|
||||
* precedence of operators: Precedence.
|
||||
* precedence, context-dependent: Contextual Precedence.
|
||||
* precedence, unary operator: Contextual Precedence.
|
||||
* preventing warnings about conflicts: Expect Decl.
|
||||
* Prologue: Prologue.
|
||||
* pure parser: Pure Decl.
|
||||
* recovery from errors: Error Recovery.
|
||||
* recursive rule: Recursion.
|
||||
@@ -1008,8 +1009,8 @@ Index
|
||||
* YYBACKUP: Action Features.
|
||||
* yychar: Look-Ahead.
|
||||
* yyclearin: Error Recovery.
|
||||
* yydebug: Debugging.
|
||||
* YYDEBUG: Debugging.
|
||||
* yydebug: Debugging.
|
||||
* YYEMPTY: Action Features.
|
||||
* yyerrok: Error Recovery.
|
||||
* YYERROR: Action Features.
|
||||
|
||||
Reference in New Issue
Block a user