Hello community, here is the log from the commit of package byacc for openSUSE:Factory checked in at 2017-06-05 18:51:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/byacc (Old) and /work/SRC/openSUSE:Factory/.byacc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "byacc" Mon Jun 5 18:51:12 2017 rev:20 rq:501180 version:20170430 Changes: -------- --- /work/SRC/openSUSE:Factory/byacc/byacc.changes 2017-04-11 12:45:50.684816152 +0200 +++ /work/SRC/openSUSE:Factory/.byacc.new/byacc.changes 2017-06-05 18:51:49.348697717 +0200 @@ -1,0 +2,6 @@ +Mon Jun 5 14:22:46 UTC 2017 - [email protected] + +- Update to version 20170430: + * See attached CHANGES for complete list of changes + +------------------------------------------------------------------- Old: ---- byacc-20170201.tgz byacc-20170201.tgz.asc New: ---- byacc-20170430.tgz byacc-20170430.tgz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ byacc.spec ++++++ --- /var/tmp/diff_new_pack.GOiOu4/_old 2017-06-05 18:51:49.968610334 +0200 +++ /var/tmp/diff_new_pack.GOiOu4/_new 2017-06-05 18:51:49.972609770 +0200 @@ -18,7 +18,7 @@ Name: byacc -Version: 20170201 +Version: 20170430 Release: 0 Summary: LALR(1) parser generator License: SUSE-Public-Domain ++++++ byacc-20170201.tgz -> byacc-20170430.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/CHANGES new/byacc-20170430/CHANGES --- old/byacc-20170201/CHANGES 2017-02-02 02:45:22.000000000 +0100 +++ new/byacc-20170430/CHANGES 2017-05-01 02:13:58.000000000 +0200 @@ -1,3 +1,33 @@ +2017-04-30 Thomas E. Dickey <[email protected]> + + * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, btyaccpar.skel: + fix another uninitialized variable warning in "make check_make" for btyacc + + * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/calc3.tab.c, btyaccpar.c, btyaccpar.skel, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/calc3.tab.c, yaccpar.c, defs.h, yaccpar.skel, output.c: + fix some compiler warnings for "make check_make" by adding section init_vars, + which initializes the body_vars for pure-parser configuration. + +2017-04-30 Tom.Shields + + * output.c: + use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code + +2017-04-30 Julien.Ramseier + + * main.c, test/yacc/big_l.output: + fix typo in unsupported-flag warning message + +2017-04-30 Thomas E. Dickey <[email protected]> + + * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: + bump + +2017-03-18 Thomas E. Dickey <[email protected]> + + * config.sub: 2017-02-07 + + * config.guess: 2017-03-05 + 2017-02-01 Thomas E. Dickey <[email protected]> * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/yacc/expr.oxout.error, test/yacc/expr.oxout.output, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/MANIFEST new/byacc-20170430/MANIFEST --- old/byacc-20170201/MANIFEST 2017-02-02 02:50:09.000000000 +0100 +++ new/byacc-20170430/MANIFEST 2017-04-30 22:55:15.000000000 +0200 @@ -1,4 +1,4 @@ -MANIFEST for byacc-20170201, version t20170201 +MANIFEST for byacc-20170430, version t20170430 -------------------------------------------------------------------------------- MANIFEST this file ACKNOWLEDGEMENTS original version of byacc - 1993 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/VERSION new/byacc-20170430/VERSION --- old/byacc-20170201/VERSION 2017-02-01 10:55:04.000000000 +0100 +++ new/byacc-20170430/VERSION 2017-04-30 22:55:15.000000000 +0200 @@ -1 +1 @@ -20170201 +20170430 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/btyaccpar.c new/byacc-20170430/btyaccpar.c --- old/byacc-20170201/btyaccpar.c 2016-12-02 23:07:46.000000000 +0100 +++ new/byacc-20170430/btyaccpar.c 2017-05-01 02:13:42.000000000 +0200 @@ -2,7 +2,7 @@ * @Id: skel2c,v 1.4 2016/06/07 00:26:09 tom Exp @ */ -/* @Id: btyaccpar.skel,v 1.5 2016/12/02 22:02:28 tom Exp @ */ +/* @Id: btyaccpar.skel,v 1.6 2017/04/30 23:40:34 tom Exp @ */ #include "defs.h" @@ -450,6 +450,23 @@ " if (yydebug)", " fprintf(stderr, \"%sdebug[<# of symbols on state stack>]\\n\", YYPREFIX);", "#endif", + "#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)", + " memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range));", + "#endif", + "", + 0 +}; + +const char *const init_vars[] = +{ + " yyerrflag = 0;", + " yychar = 0;", + " memset(&yyval, 0, sizeof(yyval));", + " memset(&yylval, 0, sizeof(yylval));", + "#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)", + " memset(&yyloc, 0, sizeof(yyloc));", + " memset(&yylloc, 0, sizeof(yylloc));", + "#endif", "", 0 }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/btyaccpar.skel new/byacc-20170430/btyaccpar.skel --- old/byacc-20170201/btyaccpar.skel 2016-12-02 23:02:28.000000000 +0100 +++ new/byacc-20170430/btyaccpar.skel 2017-05-01 02:13:19.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: btyaccpar.skel,v 1.5 2016/12/02 22:02:28 tom Exp $ */ +/* $Id: btyaccpar.skel,v 1.7 2017/05/01 00:13:19 tom Exp $ */ #include "defs.h" @@ -385,6 +385,19 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + +%% init_vars + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif %% body_3 %%ifdef YYBTYACC diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/config.guess new/byacc-20170430/config.guess --- old/byacc-20170201/config.guess 2016-12-31 18:06:24.000000000 +0100 +++ new/byacc-20170430/config.guess 2017-03-18 15:08:29.000000000 +0100 @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2017 Free Software Foundation, Inc. -timestamp='2017-01-01' +timestamp='2017-03-05' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -837,10 +837,11 @@ UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; esac + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -1343,6 +1344,9 @@ NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; + NSX-?:NONSTOP_KERNEL:*:*) + echo nsx-tandem-nsk${UNAME_RELEASE} + exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/config.sub new/byacc-20170430/config.sub --- old/byacc-20170201/config.sub 2016-12-31 18:06:24.000000000 +0100 +++ new/byacc-20170430/config.sub 2017-03-18 15:08:29.000000000 +0100 @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2017 Free Software Foundation, Inc. -timestamp='2017-01-01' +timestamp='2017-02-07' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -948,6 +948,9 @@ nsr-tandem) basic_machine=nsr-tandem ;; + nsx-tandem) + basic_machine=nsx-tandem + ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/defs.h new/byacc-20170430/defs.h --- old/byacc-20170201/defs.h 2017-02-02 01:44:38.000000000 +0100 +++ new/byacc-20170430/defs.h 2017-05-01 01:29:11.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: defs.h,v 1.56 2017/02/02 00:44:38 tom Exp $ */ +/* $Id: defs.h,v 1.57 2017/04/30 23:29:11 tom Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> @@ -307,6 +307,7 @@ extern const char *const hdr_vars[]; extern const char *const body_1[]; extern const char *const body_vars[]; +extern const char *const init_vars[]; extern const char *const body_2[]; extern const char *const body_3[]; extern const char *const trailer[]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/main.c new/byacc-20170430/main.c --- old/byacc-20170201/main.c 2017-02-02 01:44:38.000000000 +0100 +++ new/byacc-20170430/main.c 2017-04-30 22:57:56.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.59 2017/02/02 00:44:38 tom Exp $ */ +/* $Id: main.c,v 1.60 2017/04/30 20:57:56 Julien.Ramseier Exp $ */ #include <signal.h> #ifndef _WIN32 @@ -266,7 +266,7 @@ #if defined(YYBTYACC) locations = 1; #else - unsupported_flag_warning("-B", "reconfigure with --enable-btyacc"); + unsupported_flag_warning("-L", "reconfigure with --enable-btyacc"); #endif break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/output.c new/byacc-20170430/output.c --- old/byacc-20170201/output.c 2016-12-02 21:42:38.000000000 +0100 +++ new/byacc-20170430/output.c 2017-05-01 01:23:32.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: output.c,v 1.79 2016/12/02 20:42:38 tom Exp $ */ +/* $Id: output.c,v 1.81 2017/04/30 23:23:32 tom Exp $ */ #include "defs.h" @@ -1584,6 +1584,19 @@ putc_code(fp, '\n'); } +#if defined(YY_NO_LEAKS) +static void +output_no_leaks(FILE * fp) +{ + putc_code(fp, '\n'); + + if (fp == code_file) + ++outline; + fputs("#define YY_NO_LEAKS 1\n", fp); + putc_code(fp, '\n'); +} +#endif + static void output_trailing_text(void) { @@ -1985,6 +1998,9 @@ output_prefix(fp); output_pure_parser(fp); +#if defined(YY_NO_LEAKS) + output_no_leaks(fp); +#endif output_stored_text(fp); output_stype(fp); #if defined(YYBTYACC) @@ -2068,6 +2084,10 @@ write_section(code_file, body_vars); } write_section(code_file, body_2); + if (pure_parser) + { + write_section(code_file, init_vars); + } #if defined(YYBTYACC) if (initial_action) output_initial_action(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/package/byacc.spec new/byacc-20170430/package/byacc.spec --- old/byacc-20170201/package/byacc.spec 2017-02-01 10:55:04.000000000 +0100 +++ new/byacc-20170430/package/byacc.spec 2017-04-30 22:55:15.000000000 +0200 @@ -1,8 +1,8 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc -%define AppVersion 20170201 +%define AppVersion 20170430 %define UseProgram yacc -# $XTermId: byacc.spec,v 1.33 2017/02/01 09:55:04 tom Exp $ +# $XTermId: byacc.spec,v 1.34 2017/04/30 20:55:15 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/package/debian/changelog new/byacc-20170430/package/debian/changelog --- old/byacc-20170201/package/debian/changelog 2017-02-01 10:55:04.000000000 +0100 +++ new/byacc-20170430/package/debian/changelog 2017-04-30 22:55:15.000000000 +0200 @@ -1,3 +1,9 @@ +byacc (20170430) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <[email protected]> Sun, 30 Apr 2017 16:55:15 -0400 + byacc (20170201) unstable; urgency=low * maintenance updates diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/package/mingw-byacc.spec new/byacc-20170430/package/mingw-byacc.spec --- old/byacc-20170201/package/mingw-byacc.spec 2017-02-01 10:55:04.000000000 +0100 +++ new/byacc-20170430/package/mingw-byacc.spec 2017-04-30 22:55:15.000000000 +0200 @@ -1,8 +1,8 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc -%define AppVersion 20170201 +%define AppVersion 20170430 %define UseProgram yacc -# $XTermId: mingw-byacc.spec,v 1.15 2017/02/01 09:55:04 tom Exp $ +# $XTermId: mingw-byacc.spec,v 1.16 2017/04/30 20:55:15 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/package/pkgsrc/Makefile new/byacc-20170430/package/pkgsrc/Makefile --- old/byacc-20170201/package/pkgsrc/Makefile 2017-02-01 10:55:04.000000000 +0100 +++ new/byacc-20170430/package/pkgsrc/Makefile 2017-04-30 22:55:15.000000000 +0200 @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.9 2008/07/24 17:13:00 tonnerre Exp $ # -DISTNAME= byacc-20170201 +DISTNAME= byacc-20170430 PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://invisible-island.net/byacc/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/btyacc_calc1.tab.c new/byacc-20170430/test/btyacc/btyacc_calc1.tab.c --- old/byacc-20170201/test/btyacc/btyacc_calc1.tab.c 2016-12-02 23:08:36.000000000 +0100 +++ new/byacc-20170430/test/btyacc/btyacc_calc1.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -818,6 +818,18 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1525,7 +1537,7 @@ yyval.vval = yystack.l_mark[-1].vval; } break; -#line 1529 "btyacc_calc1.tab.c" +#line 1541 "btyacc_calc1.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/btyacc_demo.tab.c new/byacc-20170430/test/btyacc/btyacc_demo.tab.c --- old/byacc-20170201/test/btyacc/btyacc_demo.tab.c 2016-12-02 23:08:36.000000000 +0100 +++ new/byacc-20170430/test/btyacc/btyacc_demo.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -1330,6 +1330,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -2103,7 +2106,7 @@ #line 197 "btyacc_demo.y" { yyval.code = yystack.l_mark[-1].code; } break; -#line 2107 "btyacc_demo.tab.c" +#line 2110 "btyacc_demo.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/btyacc_destroy1.tab.c new/byacc-20170430/test/btyacc/btyacc_destroy1.tab.c --- old/byacc-20170201/test/btyacc/btyacc_destroy1.tab.c 2016-12-02 23:08:36.000000000 +0100 +++ new/byacc-20170430/test/btyacc/btyacc_destroy1.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -662,6 +662,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1225,7 +1228,7 @@ #line 86 "btyacc_destroy1.y" { yyval.nlist = yystack.l_mark[-5].nlist; } break; -#line 1229 "btyacc_destroy1.tab.c" +#line 1232 "btyacc_destroy1.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/btyacc_destroy2.tab.c new/byacc-20170430/test/btyacc/btyacc_destroy2.tab.c --- old/byacc-20170201/test/btyacc/btyacc_destroy2.tab.c 2016-12-02 23:08:36.000000000 +0100 +++ new/byacc-20170430/test/btyacc/btyacc_destroy2.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -662,6 +662,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1225,7 +1228,7 @@ #line 86 "btyacc_destroy2.y" { yyval.nlist = yystack.l_mark[-5].nlist; } break; -#line 1229 "btyacc_destroy2.tab.c" +#line 1232 "btyacc_destroy2.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/btyacc_destroy3.tab.c new/byacc-20170430/test/btyacc/btyacc_destroy3.tab.c --- old/byacc-20170201/test/btyacc/btyacc_destroy3.tab.c 2016-12-02 23:08:36.000000000 +0100 +++ new/byacc-20170430/test/btyacc/btyacc_destroy3.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -662,6 +662,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1225,7 +1228,7 @@ #line 89 "btyacc_destroy3.y" { yyval.nlist = yystack.l_mark[-5].nlist; } break; -#line 1229 "btyacc_destroy3.tab.c" +#line 1232 "btyacc_destroy3.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/calc.tab.c new/byacc-20170430/test/btyacc/calc.tab.c --- old/byacc-20170201/test/btyacc/calc.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/calc.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -657,6 +657,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1231,7 +1234,7 @@ #line 63 "calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1235 "calc.tab.c" +#line 1238 "calc.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/calc1.tab.c new/byacc-20170430/test/btyacc/calc1.tab.c --- old/byacc-20170201/test/btyacc/calc1.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/calc1.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -801,6 +801,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1478,7 +1481,7 @@ yyval.vval = yystack.l_mark[-1].vval; } break; -#line 1482 "calc1.tab.c" +#line 1485 "calc1.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/calc2.tab.c new/byacc-20170430/test/btyacc/calc2.tab.c --- old/byacc-20170201/test/btyacc/calc2.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/calc2.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -670,6 +670,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1244,7 +1247,7 @@ #line 70 "calc2.y" { yyval = (*base) * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1248 "calc2.tab.c" +#line 1251 "calc2.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/calc3.tab.c new/byacc-20170430/test/btyacc/calc3.tab.c --- old/byacc-20170201/test/btyacc/calc3.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/calc3.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -675,6 +675,18 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1249,7 +1261,7 @@ #line 73 "calc3.y" { yyval = (*base) * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1253 "calc3.tab.c" +#line 1265 "calc3.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/code_calc.code.c new/byacc-20170430/test/btyacc/code_calc.code.c --- old/byacc-20170201/test/btyacc/code_calc.code.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/code_calc.code.c 2017-05-01 02:13:56.000000000 +0200 @@ -530,6 +530,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1104,7 +1107,7 @@ #line 67 "code_calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1108 "code_calc.code.c" +#line 1111 "code_calc.code.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/code_error.code.c new/byacc-20170430/test/btyacc/code_error.code.c --- old/byacc-20170201/test/btyacc/code_error.code.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/code_error.code.c 2017-05-01 02:13:56.000000000 +0200 @@ -500,6 +500,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/empty.tab.c new/byacc-20170430/test/btyacc/empty.tab.c --- old/byacc-20170201/test/btyacc/empty.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/empty.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -519,6 +519,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/err_inherit3.tab.c new/byacc-20170430/test/btyacc/err_inherit3.tab.c --- old/byacc-20170201/test/btyacc/err_inherit3.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/err_inherit3.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -619,6 +619,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1189,7 +1192,7 @@ #line 75 "err_inherit3.y" { yyval.nlist = yystack.l_mark[0].nlist; } break; -#line 1193 "err_inherit3.tab.c" +#line 1196 "err_inherit3.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/err_inherit4.tab.c new/byacc-20170430/test/btyacc/err_inherit4.tab.c --- old/byacc-20170201/test/btyacc/err_inherit4.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/err_inherit4.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -617,6 +617,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1179,7 +1182,7 @@ #line 77 "err_inherit4.y" { yyval.nlist = yystack.l_mark[0].nlist; yyloc = yystack.p_mark[1]; } break; -#line 1183 "err_inherit4.tab.c" +#line 1186 "err_inherit4.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/err_syntax10.tab.c new/byacc-20170430/test/btyacc/err_syntax10.tab.c --- old/byacc-20170201/test/btyacc/err_syntax10.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/err_syntax10.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -518,6 +518,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/err_syntax11.tab.c new/byacc-20170430/test/btyacc/err_syntax11.tab.c --- old/byacc-20170201/test/btyacc/err_syntax11.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/err_syntax11.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -524,6 +524,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/err_syntax12.tab.c new/byacc-20170430/test/btyacc/err_syntax12.tab.c --- old/byacc-20170201/test/btyacc/err_syntax12.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/err_syntax12.tab.c 2017-05-01 02:13:56.000000000 +0200 @@ -530,6 +530,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/err_syntax18.tab.c new/byacc-20170430/test/btyacc/err_syntax18.tab.c --- old/byacc-20170201/test/btyacc/err_syntax18.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/err_syntax18.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -527,6 +527,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1045,7 +1048,7 @@ #line 9 "err_syntax18.y" { yyval = yystack.l_mark[1]; } break; -#line 1049 "err_syntax18.tab.c" +#line 1052 "err_syntax18.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/err_syntax20.tab.c new/byacc-20170430/test/btyacc/err_syntax20.tab.c --- old/byacc-20170201/test/btyacc/err_syntax20.tab.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/err_syntax20.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -522,6 +522,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1040,7 +1043,7 @@ #line 12 "err_syntax20.y" { yystack.l_mark[-1].rechk = 3; } break; -#line 1044 "err_syntax20.tab.c" +#line 1047 "err_syntax20.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/error.tab.c new/byacc-20170430/test/btyacc/error.tab.c --- old/byacc-20170201/test/btyacc/error.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/error.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -523,6 +523,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/expr.oxout.tab.c new/byacc-20170430/test/btyacc/expr.oxout.tab.c --- old/byacc-20170201/test/btyacc/expr.oxout.tab.c 2017-02-02 02:45:22.000000000 +0100 +++ new/byacc-20170430/test/btyacc/expr.oxout.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -1943,6 +1943,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -2515,7 +2518,7 @@ yyyGenIntNode(8,1,0,&yyval.yyyOxAttrbs,&yystack.l_mark[0].yyyOxAttrbs); yyyAdjustINRC(8,1,0,0,&yyval.yyyOxAttrbs,&yystack.l_mark[0].yyyOxAttrbs);}} break; -#line 2519 "expr.oxout.tab.c" +#line 2522 "expr.oxout.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/grammar.tab.c new/byacc-20170430/test/btyacc/grammar.tab.c --- old/byacc-20170201/test/btyacc/grammar.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/grammar.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -1496,6 +1496,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -2684,7 +2687,7 @@ yyval.declarator->func_def = FUNC_ANSI; } break; -#line 2688 "grammar.tab.c" +#line 2691 "grammar.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/inherit0.tab.c new/byacc-20170430/test/btyacc/inherit0.tab.c --- old/byacc-20170201/test/btyacc/inherit0.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/inherit0.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -542,6 +542,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1100,7 +1103,7 @@ #line 43 "inherit0.y" { yyval = yystack.l_mark[0]; } break; -#line 1104 "inherit0.tab.c" +#line 1107 "inherit0.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/inherit1.tab.c new/byacc-20170430/test/btyacc/inherit1.tab.c --- old/byacc-20170201/test/btyacc/inherit1.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/inherit1.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -563,6 +563,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1125,7 +1128,7 @@ #line 71 "inherit1.y" { yyval.nlist = yystack.l_mark[0].nlist; } break; -#line 1129 "inherit1.tab.c" +#line 1132 "inherit1.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/inherit2.tab.c new/byacc-20170430/test/btyacc/inherit2.tab.c --- old/byacc-20170201/test/btyacc/inherit2.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/inherit2.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -618,6 +618,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1184,7 +1187,7 @@ #line 75 "inherit2.y" { yyval.nlist = yystack.l_mark[0].nlist; } break; -#line 1188 "inherit2.tab.c" +#line 1191 "inherit2.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/ok_syntax1.tab.c new/byacc-20170430/test/btyacc/ok_syntax1.tab.c --- old/byacc-20170201/test/btyacc/ok_syntax1.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/ok_syntax1.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -698,6 +698,18 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1272,7 +1284,7 @@ #line 101 "ok_syntax1.y" { yyval.ival = (*base) * yystack.l_mark[-1].ival + yystack.l_mark[0].ival; } break; -#line 1276 "ok_syntax1.tab.c" +#line 1288 "ok_syntax1.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/pure_calc.tab.c new/byacc-20170430/test/btyacc/pure_calc.tab.c --- old/byacc-20170201/test/btyacc/pure_calc.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/pure_calc.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -671,6 +671,18 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1245,7 +1257,7 @@ #line 69 "pure_calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1249 "pure_calc.tab.c" +#line 1261 "pure_calc.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/pure_error.tab.c new/byacc-20170430/test/btyacc/pure_error.tab.c --- old/byacc-20170201/test/btyacc/pure_error.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/pure_error.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -539,6 +539,18 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif + + yyerrflag = 0; + yychar = 0; + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(&yyloc, 0, sizeof(yyloc)); + memset(&yylloc, 0, sizeof(yylloc)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/quote_calc-s.tab.c new/byacc-20170430/test/btyacc/quote_calc-s.tab.c --- old/byacc-20170201/test/btyacc/quote_calc-s.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/quote_calc-s.tab.c 2017-05-01 02:13:58.000000000 +0200 @@ -675,6 +675,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1249,7 +1252,7 @@ #line 70 "quote_calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1253 "quote_calc-s.tab.c" +#line 1256 "quote_calc-s.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/quote_calc.tab.c new/byacc-20170430/test/btyacc/quote_calc.tab.c --- old/byacc-20170201/test/btyacc/quote_calc.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/quote_calc.tab.c 2017-05-01 02:13:57.000000000 +0200 @@ -681,6 +681,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1255,7 +1258,7 @@ #line 70 "quote_calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1259 "quote_calc.tab.c" +#line 1262 "quote_calc.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/quote_calc2-s.tab.c new/byacc-20170430/test/btyacc/quote_calc2-s.tab.c --- old/byacc-20170201/test/btyacc/quote_calc2-s.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/quote_calc2-s.tab.c 2017-05-01 02:13:58.000000000 +0200 @@ -675,6 +675,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1249,7 +1252,7 @@ #line 70 "quote_calc2.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1253 "quote_calc2-s.tab.c" +#line 1256 "quote_calc2-s.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/quote_calc2.tab.c new/byacc-20170430/test/btyacc/quote_calc2.tab.c --- old/byacc-20170201/test/btyacc/quote_calc2.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/quote_calc2.tab.c 2017-05-01 02:13:58.000000000 +0200 @@ -681,6 +681,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1255,7 +1258,7 @@ #line 70 "quote_calc2.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1259 "quote_calc2.tab.c" +#line 1262 "quote_calc2.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/quote_calc3-s.tab.c new/byacc-20170430/test/btyacc/quote_calc3-s.tab.c --- old/byacc-20170201/test/btyacc/quote_calc3-s.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/quote_calc3-s.tab.c 2017-05-01 02:13:58.000000000 +0200 @@ -676,6 +676,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1250,7 +1253,7 @@ #line 70 "quote_calc3.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1254 "quote_calc3-s.tab.c" +#line 1257 "quote_calc3-s.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/quote_calc3.tab.c new/byacc-20170430/test/btyacc/quote_calc3.tab.c --- old/byacc-20170201/test/btyacc/quote_calc3.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/quote_calc3.tab.c 2017-05-01 02:13:58.000000000 +0200 @@ -676,6 +676,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1250,7 +1253,7 @@ #line 70 "quote_calc3.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1254 "quote_calc3.tab.c" +#line 1257 "quote_calc3.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/quote_calc4-s.tab.c new/byacc-20170430/test/btyacc/quote_calc4-s.tab.c --- old/byacc-20170201/test/btyacc/quote_calc4-s.tab.c 2016-12-02 23:08:39.000000000 +0100 +++ new/byacc-20170430/test/btyacc/quote_calc4-s.tab.c 2017-05-01 02:13:58.000000000 +0200 @@ -676,6 +676,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1250,7 +1253,7 @@ #line 70 "quote_calc4.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1254 "quote_calc4-s.tab.c" +#line 1257 "quote_calc4-s.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/quote_calc4.tab.c new/byacc-20170430/test/btyacc/quote_calc4.tab.c --- old/byacc-20170201/test/btyacc/quote_calc4.tab.c 2016-12-02 23:08:38.000000000 +0100 +++ new/byacc-20170430/test/btyacc/quote_calc4.tab.c 2017-05-01 02:13:58.000000000 +0200 @@ -676,6 +676,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1250,7 +1253,7 @@ #line 70 "quote_calc4.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1254 "quote_calc4.tab.c" +#line 1257 "quote_calc4.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/rename_debug.c new/byacc-20170430/test/btyacc/rename_debug.c --- old/byacc-20170201/test/btyacc/rename_debug.c 2016-12-02 23:08:37.000000000 +0100 +++ new/byacc-20170430/test/btyacc/rename_debug.c 2017-05-01 02:13:56.000000000 +0200 @@ -386,6 +386,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/btyacc/varsyntax_calc1.tab.c new/byacc-20170430/test/btyacc/varsyntax_calc1.tab.c --- old/byacc-20170201/test/btyacc/varsyntax_calc1.tab.c 2016-12-02 23:08:39.000000000 +0100 +++ new/byacc-20170430/test/btyacc/varsyntax_calc1.tab.c 2017-05-01 02:13:58.000000000 +0200 @@ -802,6 +802,9 @@ if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1479,7 +1482,7 @@ yyval.vval = yystack.l_mark[-1].vval; } break; -#line 1483 "varsyntax_calc1.tab.c" +#line 1486 "varsyntax_calc1.tab.c" default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/yacc/big_l.output new/byacc-20170430/test/yacc/big_l.output --- old/byacc-20170201/test/yacc/big_l.output 2014-05-28 04:01:55.000000000 +0200 +++ new/byacc-20170430/test/yacc/big_l.output 2017-04-30 22:57:56.000000000 +0200 @@ -1,4 +1,4 @@ -YACC: w - -B flag unsupported, reconfigure with --enable-btyacc +YACC: w - -L flag unsupported, reconfigure with --enable-btyacc Usage: YACC [options] filename Options: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/yacc/calc3.tab.c new/byacc-20170430/test/yacc/calc3.tab.c --- old/byacc-20170201/test/yacc/calc3.tab.c 2016-06-07 01:37:56.000000000 +0200 +++ new/byacc-20170430/test/yacc/calc3.tab.c 2017-05-01 01:29:20.000000000 +0200 @@ -443,6 +443,9 @@ } #endif + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); + yym = 0; yyn = 0; yynerrs = 0; @@ -627,7 +630,7 @@ #line 73 "calc3.y" { yyval = (*base) * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 631 "calc3.tab.c" +#line 634 "calc3.tab.c" } yystack.s_mark -= yym; yystate = *yystack.s_mark; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/yacc/ok_syntax1.tab.c new/byacc-20170430/test/yacc/ok_syntax1.tab.c --- old/byacc-20170201/test/yacc/ok_syntax1.tab.c 2016-06-07 01:37:57.000000000 +0200 +++ new/byacc-20170430/test/yacc/ok_syntax1.tab.c 2017-05-01 01:29:22.000000000 +0200 @@ -467,6 +467,9 @@ } #endif + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); + yym = 0; yyn = 0; yynerrs = 0; @@ -651,7 +654,7 @@ #line 101 "ok_syntax1.y" { yyval.ival = (*base) * yystack.l_mark[-1].ival + yystack.l_mark[0].ival; } break; -#line 655 "ok_syntax1.tab.c" +#line 658 "ok_syntax1.tab.c" } yystack.s_mark -= yym; yystate = *yystack.s_mark; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/yacc/pure_calc.tab.c new/byacc-20170430/test/yacc/pure_calc.tab.c --- old/byacc-20170201/test/yacc/pure_calc.tab.c 2016-06-07 01:37:57.000000000 +0200 +++ new/byacc-20170430/test/yacc/pure_calc.tab.c 2017-05-01 01:29:22.000000000 +0200 @@ -439,6 +439,9 @@ } #endif + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); + yym = 0; yyn = 0; yynerrs = 0; @@ -623,7 +626,7 @@ #line 69 "pure_calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 627 "pure_calc.tab.c" +#line 630 "pure_calc.tab.c" } yystack.s_mark -= yym; yystate = *yystack.s_mark; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/test/yacc/pure_error.tab.c new/byacc-20170430/test/yacc/pure_error.tab.c --- old/byacc-20170201/test/yacc/pure_error.tab.c 2016-06-07 01:37:57.000000000 +0200 +++ new/byacc-20170430/test/yacc/pure_error.tab.c 2017-05-01 01:29:22.000000000 +0200 @@ -336,6 +336,9 @@ } #endif + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); + yym = 0; yyn = 0; yynerrs = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/yaccpar.c new/byacc-20170430/yaccpar.c --- old/byacc-20170201/yaccpar.c 2016-12-02 22:44:58.000000000 +0100 +++ new/byacc-20170430/yaccpar.c 2017-05-01 01:29:16.000000000 +0200 @@ -2,7 +2,7 @@ * @Id: skel2c,v 1.4 2016/06/07 00:26:09 tom Exp @ */ -/* @Id: yaccpar.skel,v 1.7 2016/06/06 23:35:55 Tom.Shields Exp @ */ +/* @Id: yaccpar.skel,v 1.8 2016/12/02 21:44:42 tom Exp @ */ #include "defs.h" @@ -213,6 +213,14 @@ "", 0 }; + +const char *const init_vars[] = +{ + " memset(&yyval, 0, sizeof(yyval));", + " memset(&yylval, 0, sizeof(yylval));", + "", + 0 +}; const char *const body_3[] = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/byacc-20170201/yaccpar.skel new/byacc-20170430/yaccpar.skel --- old/byacc-20170201/yaccpar.skel 2016-12-02 22:44:42.000000000 +0100 +++ new/byacc-20170430/yaccpar.skel 2017-05-01 01:28:17.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: yaccpar.skel,v 1.8 2016/12/02 21:44:42 tom Exp $ */ +/* $Id: yaccpar.skel,v 1.9 2017/04/30 23:28:17 tom Exp $ */ #include "defs.h" @@ -166,6 +166,10 @@ } #endif +%% init_vars + memset(&yyval, 0, sizeof(yyval)); + memset(&yylval, 0, sizeof(yylval)); + %% body_3 yym = 0; yyn = 0;
