From: Akim Demaille Date: Thu, 1 Nov 2001 17:47:39 +0000 (+0000) Subject: * tests/calc.at: Catch up with 1.30. X-Git-Tag: before-m4-back-end~339 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/f987e9d257795abe81cab17ddaf9041e19e5c07a?ds=sidebyside;hp=de76abc1e9859b5f9ecd21e21d9c0153d39204a1 * tests/calc.at: Catch up with 1.30. * configure.in: Bump to 1.49a. Adjust to newer Autotest. --- diff --git a/ChangeLog b/ChangeLog index 53f64090..4168a345 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-11-01 Akim Demaille + + * tests/calc.at: Catch up with 1.30. + * configure.in: Bump to 1.49a. + Adjust to newer Autotest. + 2001-10-19 Pascal Bart * src/conflicts.c: Move global variables rrc_total and src_total ... diff --git a/NEWS b/NEWS index 07762541..543947ca 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,9 @@ Bison News ---------- -Changes in version 1.29e: +Changes in version 1.49a: + +Changes in version 1.30: * `--defines' and `--graph' have now an optionnal argument which is the output file name. `-d' and `-g' do not change, they do not take any @@ -10,10 +12,8 @@ Changes in version 1.29e: * `%source_extension' and `%header_extension' are removed, failed experiment. -* The test suite is more portable. - -* Better portability. - +* Portability fixes. + Changes in version 1.29: * The output file does not define const, as this caused problems when used @@ -45,6 +45,9 @@ Changes in version 1.29: * New directives. `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose', `%debug', `%source_extension' and `%header_extension'. + +* @$ + Automatic location tracking. Changes in version 1.28: diff --git a/configure.in b/configure.in index 27b8d2ec..3e5f284d 100644 --- a/configure.in +++ b/configure.in @@ -18,14 +18,15 @@ # We need a recent Autoconf to run a recent Autotest. AC_PREREQ(2.52e) -AC_INIT([GNU Bison], [1.29d], [bug-bison@gnu.org]) +AC_INIT([GNU Bison], [1.49a], [bug-bison@gnu.org]) AC_CONFIG_AUX_DIR(config) -AM_INIT_AUTOMAKE([bison], [1.29d]) +AM_INIT_AUTOMAKE([bison], [1.49a]) AM_CONFIG_HEADER(config.h:config.hin) # Initialize the test suite. AC_CONFIG_TESTDIR(tests) +AC_CONFIG_FILES(tests/Makefile tests/atlocal) AC_CONFIG_FILES([tests/bison], [chmod +x tests/bison]) # Needed by tests/atlocal.in. AC_SUBST([GCC]) @@ -105,5 +106,4 @@ AC_OUTPUT([Makefile config/Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile - m4/Makefile - tests/Makefile]) + m4/Makefile]) diff --git a/tests/Makefile.am b/tests/Makefile.am index eefd1f96..3613713f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -18,7 +18,7 @@ ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -EXTRA_DIST = atlocal.in $(TESTSUITE_AT) testsuite +EXTRA_DIST = $(TESTSUITE_AT) testsuite DISTCLEANFILES = atconfig atlocal bison package.m4 MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE) @@ -37,9 +37,6 @@ $(srcdir)/$(TESTSUITE): $(TESTSUITE_AT) atconfig: $(top_builddir)/config.status cd $(top_builddir) && ./config.status tests/$@ -atlocal: $(srcdir)/atlocal.in $(top_builddir)/config.status - cd $(top_builddir) && ./config.status tests/$@ - clean-local: $(SHELL) $(TESTSUITE) --clean diff --git a/tests/calc.at b/tests/calc.at index ba5293f5..f1064634 100644 --- a/tests/calc.at +++ b/tests/calc.at @@ -256,8 +256,8 @@ main (int argc, const char **argv) # Produce `calc.y'. m4_define([AT_DATA_CALC_Y], [_AT_DATA_CALC_Y($[1], $[2], $[3], - [m4_match([$1], [--yyerror-verbose], - [[#define YYERROR_VERBOSE 1]])])]) + [m4_bmatch([$1], [--yyerror-verbose], + [[#define YYERROR_VERBOSE]])])]) @@ -338,7 +338,7 @@ AT_CHECK([bison calc.y -o calc.c m4_bpatsubst([$1], [--yyerror-verbose])], # warnings, but this place is not the right one for that. # So let's keep only GCC warnings, which we know are sane. AT_CHECK([$CC $CFLAGS $CPPFLAGS calc.c -o calc], 0, [], [stderr]) -AT_CHECK([test "$GCC" = yes && cat stderr]) +AT_CHECK([if test "$GCC" = yes; then cat stderr; else true; fi]) # Test the priorities. _AT_CHECK_CALC([$1],