From 0435d061f256fbd8cca6d1c53734ad652089e639 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 30 Jan 2003 08:03:10 +0000 Subject: [PATCH] * doc/Makefile.am (CLEANFILES): Add bison.fns for distcheck. Changes in response to error report by S. Eken: GLR mode does not (yyfill): New function to copy from stack tree into array (yyuserAction): Modify to allow incremental move of semantic values to rhs array when in GLR mode. Define YYFILL to use in user-defined actions to fill semantic array (yyresolveStates): Use X == NULL for pointers, not !X. --- ChangeLog | 22 +++++++++++++--------- doc/Makefile.am | 18 +++++++++++++++++- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index d389e5a0..2bfc93d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,29 +1,33 @@ +2003-01-30 Akim Demaille + + * doc/Makefile.am (CLEANFILES): Add bison.fns for distcheck. + 2003-01-29 Paul Hilfinger * tests/cxx-type.at: Correct apparent typo in Bison input: $$ instead of $1. - - Changes in response to error report by S. Eken: GLR mode does not + + Changes in response to error report by S. Eken: GLR mode does not handle negative $ indices or $ indices in embedded rules correctly. See . - + * data/glr.c (b4_rhs_value): Change to use YYFILL macro. (b4_rhs_location): Ditto. - (yyfill): New function to copy from stack tree into array + (yyfill): New function to copy from stack tree into array incrementally. - (yyuserAction): Modify to allow incremental move of semantic values - to rhs array when in GLR mode. - Define YYFILL to use in user-defined actions to fill semantic array + (yyuserAction): Modify to allow incremental move of semantic values + to rhs array when in GLR mode. + Define YYFILL to use in user-defined actions to fill semantic array as needed. Remove dummy use of yystack, as there is now a guaranteed use. (yydoAction): Modify to allow incremental move of semantic values to rhs array when in GLR mode. (yyresolveAction): Ditto. (yyglrShiftDefer): Update comment. - (yyresolveStates): Use X == NULL for pointers, not !X. + (yyresolveStates): Use X == NULL for pointers, not !X. (yyglrReduce): Ditto. (yydoAction): Ditto - + * tests/glr-regr1.at: Rename to ... * tests/glr-regression.at: Add new regression test for the problems described above (adapted from S. Eken). diff --git a/doc/Makefile.am b/doc/Makefile.am index 65663873..bd3ce142 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,20 @@ ## Process this file with automake to produce Makefile.in -*-Makefile-*- +## Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. + +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. + +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. + +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +## 02111-1307 USA info_TEXINFOS = bison.texinfo man_MANS = bison.1 @@ -6,7 +22,7 @@ bison_TEXINFOS = gpl.texi fdl.texi EXTRA_DIST = FAQ bison.1 refcard.tex -CLEANFILES = refcard.dvi refcard.log refcard.ps +CLEANFILES = refcard.dvi refcard.log refcard.ps bison.fns refcard.dvi: refcard.tex tex refcard.tex -- 2.47.2