Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package byacc for openSUSE:Factory checked in at 2021-05-12 19:31:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/byacc (Old) and /work/SRC/openSUSE:Factory/.byacc.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "byacc" Wed May 12 19:31:34 2021 rev:26 rq:891935 version:20210328 Changes: -------- --- /work/SRC/openSUSE:Factory/byacc/byacc.changes 2020-09-25 16:33:20.187986357 +0200 +++ /work/SRC/openSUSE:Factory/.byacc.new.2988/byacc.changes 2021-05-12 19:31:56.451107432 +0200 @@ -1,0 +2,15 @@ +Sat May 8 20:19:26 UTC 2021 - Dirk M??ller <[email protected]> + +- update to 20210328: + * reader.c: ignore bison's "%empty" extension + * reader.c, defs.h: + %debug was a trivial bison "extension", mark it as such + * yacc.1: use italics in a few places where bold was inappropriate + * reader.c: + add union tag to YYSTYPE structure for compatibility with a feature which + bison copied from Solaris yacc (request by Ella Stanforth) + * closure.c, warshall.c: + fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by + Alexander Richardson) + +------------------------------------------------------------------- Old: ---- byacc-20200910.tgz byacc-20200910.tgz.asc New: ---- byacc-20210328.tgz byacc-20210328.tgz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ byacc.spec ++++++ --- /var/tmp/diff_new_pack.NwL0dI/_old 2021-05-12 19:31:57.083104908 +0200 +++ /var/tmp/diff_new_pack.NwL0dI/_new 2021-05-12 19:31:57.083104908 +0200 @@ -1,7 +1,7 @@ # # spec file for package byacc # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2010 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: byacc -Version: 20200910 +Version: 20210328 Release: 0 Summary: LALR(1) parser generator License: SUSE-Public-Domain ++++++ byacc-20200910.tgz -> byacc-20210328.tgz ++++++ ++++ 8033 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/CHANGES new/byacc-20210328/CHANGES --- old/byacc-20200910/CHANGES 2020-09-11 00:32:54.000000000 +0200 +++ new/byacc-20210328/CHANGES 2021-03-28 19:58:37.000000000 +0200 @@ -1,3 +1,56 @@ +2021-03-28 Thomas E. Dickey <[email protected]> + + * reader.c: ignore bison's "%empty" extension + + * reader.c, defs.h: + %debug was a trivial bison "extension", mark it as such + + * yacc.1: use italics in a few places where bold was inappropriate + + * test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h, test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h, test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_demo.tab.h, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy1.tab.h, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy2.tab.h, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/yacc/calc1.tab.c, test/yacc/calc1.tab.h: + regen + + * reader.c: + add union tag to YYSTYPE structure for compatibility with a feature which + bison copied from Solaris yacc (request by Ella Stanforth) + + * configure: regen + + * config_h.in: update for _Noreturn feature + + * aclocal.m4: updated to work with autoheader + + * defs.h: apply syntax change needed for _Noreturn keyword + + * package/byacc.spec, package/debian/rules: use stdnoreturn + + * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: + bump + +2021-03-20 Thomas E. Dickey <[email protected]> + + * configure: regen + + * aclocal.m4: + resync with my-autoconf (adds --enable-stdnoreturn option) + +2021-01-09 Thomas E. Dickey <[email protected]> + + * package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: + bump + +2021-01-05 Thomas E. Dickey <[email protected]> + + * configure: regen + + * aclocal.m4: resync with my-autoconf + +2020-09-22 Thomas E. Dickey <[email protected]> + + * closure.c, warshall.c: + fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by + Alexander Richardson) + 2020-09-10 Thomas E. Dickey <[email protected]> * LICENSE: RCS_BASE @@ -45,6 +98,10 @@ * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump +2020-08-16 Thomas E. Dickey <[email protected]> + + * config.guess, config.sub: 2020-08-17 + 2020-06-28 Thomas E. Dickey <[email protected]> * config.sub: 2020/06/28 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/MANIFEST new/byacc-20210328/MANIFEST --- old/byacc-20200910/MANIFEST 2020-09-11 01:16:41.000000000 +0200 +++ new/byacc-20210328/MANIFEST 2021-03-28 17:14:10.000000000 +0200 @@ -1,4 +1,4 @@ -MANIFEST for byacc-20200910, version t20200910 +MANIFEST for byacc-20210328, version t20210328 -------------------------------------------------------------------------------- MANIFEST this file ACKNOWLEDGEMENTS original version of byacc - 1993 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/VERSION new/byacc-20210328/VERSION --- old/byacc-20200910/VERSION 2020-09-10 16:45:10.000000000 +0200 +++ new/byacc-20210328/VERSION 2021-03-28 17:14:10.000000000 +0200 @@ -1 +1 @@ -20200910 +20210328 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/closure.c new/byacc-20210328/closure.c --- old/byacc-20200910/closure.c 2020-09-10 19:22:08.000000000 +0200 +++ new/byacc-20210328/closure.c 2020-09-22 22:17:00.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: closure.c,v 1.12 2020/09/10 17:22:08 tom Exp $ */ +/* $Id: closure.c,v 1.13 2020/09/22 20:17:00 tom Exp $ */ #include "defs.h" @@ -85,7 +85,7 @@ k = 0; } - if (cword & (unsigned)(1 << k)) + if (cword & (1U << k)) { rp = derives[j]; while ((rule = *rp++) >= 0) @@ -149,7 +149,7 @@ { for (i = 0; i < BITS_PER_WORD; ++i) { - if (word & (unsigned)(1 << i)) + if (word & (1U << i)) { itemno = rrhs[ruleno + i]; while (csp < csend && *csp < itemno) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/config_h.in new/byacc-20210328/config_h.in --- old/byacc-20200910/config_h.in 2019-11-04 00:12:12.000000000 +0100 +++ new/byacc-20210328/config_h.in 2021-03-28 17:38:16.000000000 +0200 @@ -51,6 +51,9 @@ /* Define if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H +/* Define if <stdnoreturn.h> header is available and working */ +#undef HAVE_STDNORETURN_H + /* Define if you have the <strings.h> header file. */ #undef HAVE_STRINGS_H @@ -84,6 +87,9 @@ /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Define if C11 _Noreturn keyword is supported */ +#undef STDC_NORETURN + /* Define to the system name. */ #undef SYSTEM_NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/defs.h new/byacc-20210328/defs.h --- old/byacc-20200910/defs.h 2020-09-10 22:21:20.000000000 +0200 +++ new/byacc-20210328/defs.h 2021-03-28 19:42:58.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: defs.h,v 1.66 2020/09/10 20:21:20 tom Exp $ */ +/* $Id: defs.h,v 1.68 2021/03/28 17:42:58 tom Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> @@ -113,21 +113,25 @@ ,START ,UNION ,IDENT + + /* trivial bison "extensions" which have POSIX equivalents */ + ,NONPOSIX_DEBUG + + /* other bison "extensions", some useful */ + ,ERROR_VERBOSE ,EXPECT ,EXPECT_RR - ,PURE_PARSER - ,PARSE_PARAM ,LEX_PARAM + ,PARSE_PARAM ,POSIX_YACC + ,PURE_PARSER ,TOKEN_TABLE - ,ERROR_VERBOSE - ,XXXDEBUG ,XCODE #if defined(YYBTYACC) - ,LOCATIONS ,DESTRUCTOR ,INITIAL_ACTION + ,LOCATIONS #endif } KEY_CASES; @@ -412,24 +416,20 @@ /* global functions */ +#ifdef HAVE_STDNORETURN_H +#undef GCC_NORETURN +#include <stdnoreturn.h> +#define GCC_NORETURN _Noreturn +#endif + #ifndef GCC_NORETURN -#if defined(__dead2) -#define GCC_NORETURN __dead2 -#elif defined(__dead) -#define GCC_NORETURN __dead +#if defined(_MSC_VER) +#define GCC_NORETURN __declspec(noreturn) #else #define GCC_NORETURN /* nothing */ #endif #endif -#ifdef __GNUC__ -#define ATTRIBUTE_NORETURN __attribute__((noreturn)) -#elif defined(_MSC_VER) -#define ATTRIBUTE_NORETURN __declspec(noreturn) -#else -#define ATTRIBUTE_NORETURN -#endif - #if defined(NDEBUG) && defined(_MSC_VER) #define NODEFAULT __assume(0); #else @@ -464,76 +464,49 @@ extern void arg_number_disagree_warning(int a_lineno, char *a_name); extern void arg_type_disagree_warning(int a_lineno, int i, char *a_name); -ATTRIBUTE_NORETURN -extern void at_error(int a_lineno, char *a_line, char *a_cptr) GCC_NORETURN; +extern GCC_NORETURN void at_error(int a_lineno, char *a_line, char *a_cptr); extern void at_warning(int a_lineno, int i); -ATTRIBUTE_NORETURN -extern void bad_formals(void) GCC_NORETURN; +extern GCC_NORETURN void bad_formals(void); extern void default_action_warning(char *s); extern void destructor_redeclared_warning(const struct ainfo *); -ATTRIBUTE_NORETURN -extern void dollar_error(int a_lineno, char *a_line, char *a_cptr) GCC_NORETURN; +extern GCC_NORETURN void dollar_error(int a_lineno, char *a_line, char *a_cptr); extern void dollar_warning(int a_lineno, int i); -ATTRIBUTE_NORETURN -extern void fatal(const char *msg) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void illegal_character(char *c_cptr) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void illegal_tag(int t_lineno, char *t_line, char *t_cptr) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void missing_brace(void) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void no_grammar(void) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void no_space(void) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void open_error(const char *filename) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void over_unionized(char *u_cptr) GCC_NORETURN; +extern GCC_NORETURN void fatal(const char *msg); +extern GCC_NORETURN void illegal_character(char *c_cptr); +extern GCC_NORETURN void illegal_tag(int t_lineno, char *t_line, char *t_cptr); +extern GCC_NORETURN void missing_brace(void); +extern GCC_NORETURN void no_grammar(void); +extern GCC_NORETURN void no_space(void); +extern GCC_NORETURN void open_error(const char *filename); +extern GCC_NORETURN void over_unionized(char *u_cptr); extern void prec_redeclared(void); extern void reprec_warning(char *s); extern void restarted_warning(void); extern void retyped_warning(char *s); extern void revalued_warning(char *s); extern void start_requires_args(char *a_name); -ATTRIBUTE_NORETURN -extern void syntax_error(int st_lineno, char *st_line, char *st_cptr) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void terminal_lhs(int s_lineno) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void terminal_start(char *s) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void tokenized_start(char *s) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void undefined_goal(char *s) GCC_NORETURN; +extern GCC_NORETURN void syntax_error(int st_lineno, char *st_line, char *st_cptr); +extern GCC_NORETURN void terminal_lhs(int s_lineno); +extern GCC_NORETURN void terminal_start(char *s); +extern GCC_NORETURN void tokenized_start(char *s); +extern GCC_NORETURN void undefined_goal(char *s); extern void undefined_symbol_warning(char *s); -ATTRIBUTE_NORETURN -extern void unexpected_EOF(void) GCC_NORETURN; +extern GCC_NORETURN void unexpected_EOF(void); extern void unknown_arg_warning(int d_lineno, const char *dlr_opt, const char *d_arg, const char *d_line, const char *d_cptr); -ATTRIBUTE_NORETURN -extern void unknown_rhs(int i) GCC_NORETURN; +extern GCC_NORETURN void unknown_rhs(int i); extern void unsupported_flag_warning(const char *flag, const char *details); -ATTRIBUTE_NORETURN -extern void unterminated_action(const struct ainfo *) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_comment(const struct ainfo *) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_string(const struct ainfo *) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_text(const struct ainfo *) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_union(const struct ainfo *) GCC_NORETURN; +extern GCC_NORETURN void unterminated_action(const struct ainfo *); +extern GCC_NORETURN void unterminated_comment(const struct ainfo *); +extern GCC_NORETURN void unterminated_string(const struct ainfo *); +extern GCC_NORETURN void unterminated_text(const struct ainfo *); +extern GCC_NORETURN void unterminated_union(const struct ainfo *); extern void untyped_arg_warning(int a_lineno, const char *dlr_opt, const char *a_name); -ATTRIBUTE_NORETURN -extern void untyped_lhs(void) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void untyped_rhs(int i, char *s) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void used_reserved(char *s) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_arglist(const struct ainfo *) GCC_NORETURN; +extern GCC_NORETURN void untyped_lhs(void); +extern GCC_NORETURN void untyped_rhs(int i, char *s); +extern GCC_NORETURN void used_reserved(char *s); +extern GCC_NORETURN void unterminated_arglist(const struct ainfo *); extern void wrong_number_args_warning(const char *which, const char *a_name); extern void wrong_type_for_arg_warning(int i, char *a_name); @@ -552,8 +525,7 @@ /* main.c */ extern void *allocate(size_t n); -ATTRIBUTE_NORETURN -extern void done(int k) GCC_NORETURN; +extern GCC_NORETURN void done(int k); /* mkpar.c */ extern void free_parser(void); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/package/byacc.spec new/byacc-20210328/package/byacc.spec --- old/byacc-20200910/package/byacc.spec 2020-09-10 16:45:10.000000000 +0200 +++ new/byacc-20210328/package/byacc.spec 2021-03-28 17:15:53.000000000 +0200 @@ -1,9 +1,9 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc %define AltProgram btyacc -%define AppVersion 20200910 +%define AppVersion 20210328 %define UseProgram yacc -# $Id: byacc.spec,v 1.50 2020/09/10 14:45:10 tom Exp $ +# $Id: byacc.spec,v 1.53 2021/03/28 15:15:53 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 @@ -43,6 +43,7 @@ %define CFG_OPTS \\\ --verbose \\\ --disable-echo \\\ + --enable-stdnoreturn \\\ --target %{_target_platform} \\\ --prefix=%{_prefix} \\\ --srcdir=%{my_srcdir} \\\ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/package/debian/changelog new/byacc-20210328/package/debian/changelog --- old/byacc-20200910/package/debian/changelog 2020-09-10 16:45:10.000000000 +0200 +++ new/byacc-20210328/package/debian/changelog 2021-03-28 17:14:10.000000000 +0200 @@ -1,3 +1,15 @@ +byacc (20210328) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <[email protected]> Sun, 28 Mar 2021 11:14:10 -0400 + +byacc (20210109) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <[email protected]> Sat, 09 Jan 2021 09:32:51 -0500 + byacc (20200910) unstable; urgency=low * maintenance updates diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/package/debian/copyright new/byacc-20210328/package/debian/copyright --- old/byacc-20200910/package/debian/copyright 2020-03-31 01:57:12.000000000 +0200 +++ new/byacc-20210328/package/debian/copyright 2021-01-09 15:41:40.000000000 +0100 @@ -1,4 +1,4 @@ -Upstream source http://invisible-island.net/byacc/byacc.html +Upstream source https://invisible-island.net/byacc/byacc.html Berkeley Yacc is in the public domain; changes made to it by the current maintainer are likewise unrestricted. That applies to most of the files. @@ -36,7 +36,7 @@ Files: aclocal.m4 Licence: other-BSD -Copyright: 2004-2019,2020 by Thomas E. Dickey +Copyright: 2004-2020,2021 by Thomas E. Dickey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -97,7 +97,7 @@ shared with many OS's install programs. Files: debian/* -Copyright: 2012 Thomas E. Dickey +Copyright: 2012-2020,2021 Thomas E. Dickey Licence: other-BSD Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/package/debian/rules new/byacc-20210328/package/debian/rules --- old/byacc-20200910/package/debian/rules 2018-05-25 22:03:37.000000000 +0200 +++ new/byacc-20210328/package/debian/rules 2021-03-28 17:15:33.000000000 +0200 @@ -1,5 +1,5 @@ #!/usr/bin/make -f -# $Id: rules,v 1.3 2018/05/25 20:03:37 tom Exp $ +# $Id: rules,v 1.4 2021/03/28 15:15:33 tom Exp $ # # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -42,6 +42,7 @@ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --sysconfdir=/etc \ + --enable-stdnoreturn \ --program-transform-name='s,^,b,' all: build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/package/mingw-byacc.spec new/byacc-20210328/package/mingw-byacc.spec --- old/byacc-20200910/package/mingw-byacc.spec 2020-09-10 16:45:10.000000000 +0200 +++ new/byacc-20210328/package/mingw-byacc.spec 2021-03-28 17:14:10.000000000 +0200 @@ -1,8 +1,8 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc -%define AppVersion 20200910 +%define AppVersion 20210328 %define UseProgram yacc -# $Id: mingw-byacc.spec,v 1.30 2020/09/10 14:45:10 tom Exp $ +# $Id: mingw-byacc.spec,v 1.32 2021/03/28 15:14:10 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/package/pkgsrc/Makefile new/byacc-20210328/package/pkgsrc/Makefile --- old/byacc-20200910/package/pkgsrc/Makefile 2020-09-10 16:45:10.000000000 +0200 +++ new/byacc-20210328/package/pkgsrc/Makefile 2021-03-28 17:14:10.000000000 +0200 @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.9 2008/07/24 17:13:00 tonnerre Exp $ # -DISTNAME= byacc-20200910 +DISTNAME= byacc-20210328 PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://ftp.invisible-island.net/byacc/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/reader.c new/byacc-20210328/reader.c --- old/byacc-20200910/reader.c 2020-09-10 22:26:13.000000000 +0200 +++ new/byacc-20210328/reader.c 2021-03-28 19:58:37.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: reader.c,v 1.84 2020/09/10 20:26:13 tom Exp $ */ +/* $Id: reader.c,v 1.87 2021/03/28 17:58:37 tom Exp $ */ #include "defs.h" @@ -223,7 +223,7 @@ if (ld == ldOK) { - size_t need = (size_t) (name_end - name_1st); + size_t need = (size_t)(name_end - name_1st); if ((long)need > (long)input_file_name_len) { input_file_name_len = ((need + 1) * 3) / 2; @@ -451,7 +451,7 @@ keywords[] = { { "binary", NONASSOC }, { "code", XCODE }, - { "debug", XXXDEBUG }, + { "debug", NONPOSIX_DEBUG }, #if defined(YYBTYACC) { "destructor", DESTRUCTOR }, #endif @@ -779,7 +779,7 @@ cline++; } code_lines[pos].lines = msdone(code_mstr); - code_lines[pos].num = (size_t) cline; + code_lines[pos].num = (size_t)cline; return; } break; @@ -902,7 +902,7 @@ if (!lflag) fprintf(text_file, line_format, lineno, input_file_name); - puts_both("typedef union"); + puts_both("typedef union YYSTYPE"); depth = 0; loop: @@ -1142,7 +1142,7 @@ } if (buf == 0) { - buf_size = (size_t) linesize; + buf_size = (size_t)linesize; buf = TMALLOC(char, buf_size); NO_SPACE(buf); } @@ -1154,7 +1154,7 @@ if (line == NULL) unexpected_EOF(); --cptr; - buf_size += (size_t) linesize; + buf_size += (size_t)linesize; tmp = TREALLOC(char, buf, buf_size); NO_SPACE(tmp); buf = tmp; @@ -1567,7 +1567,7 @@ FREE(t_line); havetags = 1; - return cache_tag(cache, (size_t) cinc); + return cache_tag(cache, (size_t)cinc); } #if defined(YYBTYACC) @@ -1578,7 +1578,7 @@ while (IS_NAME2(UCH(*cptr))) cptr++; - return cache_tag(b, (size_t) (cptr - b)); + return cache_tag(b, (size_t)(cptr - b)); } #endif @@ -1890,8 +1890,8 @@ break; #endif - case XXXDEBUG: - /* XXX: FIXME */ + case NONPOSIX_DEBUG: + tflag = 1; break; case POSIX_YACC: @@ -2042,7 +2042,7 @@ p++; if (save) { - *save = cache_tag(b, (size_t) (p - b)); + *save = cache_tag(b, (size_t)(p - b)); } return p; } @@ -3354,6 +3354,16 @@ ((c = cptr[4]) == 'c' || c == 'C') && ((c = cptr[5], !IS_IDENT(c)))) cptr += 5; + else if ((c == 'e' || c == 'E') && + ((c = cptr[2]) == 'm' || c == 'M') && + ((c = cptr[3]) == 'p' || c == 'P') && + ((c = cptr[4]) == 't' || c == 'T') && + ((c = cptr[5]) == 'y' || c == 'Y') && + ((c = cptr[6], !IS_IDENT(c)))) + { + cptr += 6; + return (1); + } else syntax_error(lineno, line, cptr); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_calc1.tab.c new/byacc-20210328/test/btyacc/btyacc_calc1.tab.c --- old/byacc-20200910/test/btyacc/btyacc_calc1.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/btyacc_calc1.tab.c 2021-03-28 18:14:03.000000000 +0200 @@ -147,7 +147,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 29 "btyacc_calc1.y" -typedef union +typedef union YYSTYPE { int ival; double dval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_calc1.tab.h new/byacc-20210328/test/btyacc/btyacc_calc1.tab.h --- old/byacc-20200910/test/btyacc/btyacc_calc1.tab.h 2018-05-09 02:31:55.000000000 +0200 +++ new/byacc-20210328/test/btyacc/btyacc_calc1.tab.h 2021-03-28 18:14:03.000000000 +0200 @@ -11,7 +11,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; double dval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_demo.tab.c new/byacc-20210328/test/btyacc/btyacc_demo.tab.c --- old/byacc-20200910/test/btyacc/btyacc_demo.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/btyacc_demo.tab.c 2021-03-28 18:14:03.000000000 +0200 @@ -152,7 +152,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 36 "btyacc_demo.y" -typedef union { +typedef union YYSTYPE { Scope *scope; Expr *expr; Expr_List *elist; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_demo.tab.h new/byacc-20210328/test/btyacc/btyacc_demo.tab.h --- old/byacc-20200910/test/btyacc/btyacc_demo.tab.h 2019-11-04 01:45:31.000000000 +0100 +++ new/byacc-20210328/test/btyacc/btyacc_demo.tab.h 2021-03-28 18:14:03.000000000 +0200 @@ -20,7 +20,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union { +typedef union YYSTYPE { Scope *scope; Expr *expr; Expr_List *elist; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_destroy1.tab.c new/byacc-20210328/test/btyacc/btyacc_destroy1.tab.c --- old/byacc-20200910/test/btyacc/btyacc_destroy1.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/btyacc_destroy1.tab.c 2021-03-28 18:14:03.000000000 +0200 @@ -148,7 +148,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 50 "btyacc_destroy1.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_destroy1.tab.h new/byacc-20210328/test/btyacc/btyacc_destroy1.tab.h --- old/byacc-20200910/test/btyacc/btyacc_destroy1.tab.h 2014-10-04 02:54:38.000000000 +0200 +++ new/byacc-20210328/test/btyacc/btyacc_destroy1.tab.h 2021-03-28 18:14:03.000000000 +0200 @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_destroy2.tab.c new/byacc-20210328/test/btyacc/btyacc_destroy2.tab.c --- old/byacc-20200910/test/btyacc/btyacc_destroy2.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/btyacc_destroy2.tab.c 2021-03-28 18:14:03.000000000 +0200 @@ -148,7 +148,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 50 "btyacc_destroy2.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_destroy2.tab.h new/byacc-20210328/test/btyacc/btyacc_destroy2.tab.h --- old/byacc-20200910/test/btyacc/btyacc_destroy2.tab.h 2014-10-04 18:02:54.000000000 +0200 +++ new/byacc-20210328/test/btyacc/btyacc_destroy2.tab.h 2021-03-28 18:14:03.000000000 +0200 @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_destroy3.tab.c new/byacc-20210328/test/btyacc/btyacc_destroy3.tab.c --- old/byacc-20200910/test/btyacc/btyacc_destroy3.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/btyacc_destroy3.tab.c 2021-03-28 18:14:03.000000000 +0200 @@ -148,7 +148,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 53 "btyacc_destroy3.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/btyacc_destroy3.tab.h new/byacc-20210328/test/btyacc/btyacc_destroy3.tab.h --- old/byacc-20200910/test/btyacc/btyacc_destroy3.tab.h 2014-10-04 18:02:55.000000000 +0200 +++ new/byacc-20210328/test/btyacc/btyacc_destroy3.tab.h 2021-03-28 18:14:03.000000000 +0200 @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/calc1.tab.c new/byacc-20210328/test/btyacc/calc1.tab.c --- old/byacc-20200910/test/btyacc/calc1.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/calc1.tab.c 2021-03-28 18:14:03.000000000 +0200 @@ -150,7 +150,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 31 "calc1.y" -typedef union +typedef union YYSTYPE { int ival; double dval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/calc1.tab.h new/byacc-20210328/test/btyacc/calc1.tab.h --- old/byacc-20200910/test/btyacc/calc1.tab.h 2014-03-19 02:26:41.000000000 +0100 +++ new/byacc-20210328/test/btyacc/calc1.tab.h 2021-03-28 18:14:03.000000000 +0200 @@ -11,7 +11,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; double dval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/err_inherit3.tab.c new/byacc-20210328/test/btyacc/err_inherit3.tab.c --- old/byacc-20200910/test/btyacc/err_inherit3.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/err_inherit3.tab.c 2021-03-28 18:14:04.000000000 +0200 @@ -143,7 +143,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 39 "err_inherit3.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/err_inherit3.tab.h new/byacc-20210328/test/btyacc/err_inherit3.tab.h --- old/byacc-20200910/test/btyacc/err_inherit3.tab.h 2014-03-28 21:00:32.000000000 +0100 +++ new/byacc-20210328/test/btyacc/err_inherit3.tab.h 2021-03-28 18:14:04.000000000 +0200 @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/err_inherit4.tab.c new/byacc-20210328/test/btyacc/err_inherit4.tab.c --- old/byacc-20200910/test/btyacc/err_inherit4.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/err_inherit4.tab.c 2021-03-28 18:14:04.000000000 +0200 @@ -151,7 +151,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 41 "err_inherit4.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/err_inherit4.tab.h new/byacc-20210328/test/btyacc/err_inherit4.tab.h --- old/byacc-20200910/test/btyacc/err_inherit4.tab.h 2019-11-04 01:45:32.000000000 +0100 +++ new/byacc-20210328/test/btyacc/err_inherit4.tab.h 2021-03-28 18:14:04.000000000 +0200 @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/expr.oxout.tab.c new/byacc-20210328/test/btyacc/expr.oxout.tab.c --- old/byacc-20200910/test/btyacc/expr.oxout.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/expr.oxout.tab.c 2021-03-28 18:14:05.000000000 +0200 @@ -137,7 +137,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 31 "expr.oxout.y" -typedef union { +typedef union YYSTYPE { struct yyyOxAttrbs { struct yyyStackItem *yyyOxStackItem; } yyyOxAttrbs; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/expr.oxout.tab.h new/byacc-20210328/test/btyacc/expr.oxout.tab.h --- old/byacc-20200910/test/btyacc/expr.oxout.tab.h 2017-02-02 02:45:22.000000000 +0100 +++ new/byacc-20210328/test/btyacc/expr.oxout.tab.h 2021-03-28 18:14:05.000000000 +0200 @@ -9,7 +9,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union { +typedef union YYSTYPE { struct yyyOxAttrbs { struct yyyStackItem *yyyOxStackItem; } yyyOxAttrbs; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/inherit1.tab.c new/byacc-20210328/test/btyacc/inherit1.tab.c --- old/byacc-20200910/test/btyacc/inherit1.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/inherit1.tab.c 2021-03-28 18:14:05.000000000 +0200 @@ -145,7 +145,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 32 "inherit1.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/inherit1.tab.h new/byacc-20210328/test/btyacc/inherit1.tab.h --- old/byacc-20200910/test/btyacc/inherit1.tab.h 2014-03-28 09:19:22.000000000 +0100 +++ new/byacc-20210328/test/btyacc/inherit1.tab.h 2021-03-28 18:14:05.000000000 +0200 @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/inherit2.tab.c new/byacc-20210328/test/btyacc/inherit2.tab.c --- old/byacc-20200910/test/btyacc/inherit2.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/inherit2.tab.c 2021-03-28 18:14:05.000000000 +0200 @@ -143,7 +143,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 39 "inherit2.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/inherit2.tab.h new/byacc-20210328/test/btyacc/inherit2.tab.h --- old/byacc-20200910/test/btyacc/inherit2.tab.h 2014-03-28 09:19:22.000000000 +0100 +++ new/byacc-20210328/test/btyacc/inherit2.tab.h 2021-03-28 18:14:05.000000000 +0200 @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/ok_syntax1.tab.c new/byacc-20210328/test/btyacc/ok_syntax1.tab.c --- old/byacc-20200910/test/btyacc/ok_syntax1.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/ok_syntax1.tab.c 2021-03-28 18:14:05.000000000 +0200 @@ -137,7 +137,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 43 "ok_syntax1.y" -typedef union +typedef union YYSTYPE { char * cval; int ival; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/ok_syntax1.tab.h new/byacc-20210328/test/btyacc/ok_syntax1.tab.h --- old/byacc-20200910/test/btyacc/ok_syntax1.tab.h 2018-05-09 02:31:56.000000000 +0200 +++ new/byacc-20210328/test/btyacc/ok_syntax1.tab.h 2021-03-28 18:14:05.000000000 +0200 @@ -23,7 +23,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { char * cval; int ival; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/varsyntax_calc1.tab.c new/byacc-20210328/test/btyacc/varsyntax_calc1.tab.c --- old/byacc-20200910/test/btyacc/varsyntax_calc1.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/btyacc/varsyntax_calc1.tab.c 2021-03-28 18:14:06.000000000 +0200 @@ -151,7 +151,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 32 "varsyntax_calc1.y" -typedef union +typedef union YYSTYPE { int ival; /* dreg & vreg array index values*/ double dval; /* floating point values*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/btyacc/varsyntax_calc1.tab.h new/byacc-20210328/test/btyacc/varsyntax_calc1.tab.h --- old/byacc-20200910/test/btyacc/varsyntax_calc1.tab.h 2014-03-24 03:22:01.000000000 +0100 +++ new/byacc-20210328/test/btyacc/varsyntax_calc1.tab.h 2021-03-28 18:14:06.000000000 +0200 @@ -11,7 +11,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; /* dreg & vreg array index values*/ double dval; /* floating point values*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/yacc/calc1.tab.c new/byacc-20210328/test/yacc/calc1.tab.c --- old/byacc-20200910/test/yacc/calc1.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/yacc/calc1.tab.c 2021-03-28 18:11:42.000000000 +0200 @@ -130,7 +130,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 31 "calc1.y" -typedef union +typedef union YYSTYPE { int ival; double dval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/yacc/calc1.tab.h new/byacc-20210328/test/yacc/calc1.tab.h --- old/byacc-20200910/test/yacc/calc1.tab.h 2010-11-26 13:47:58.000000000 +0100 +++ new/byacc-20210328/test/yacc/calc1.tab.h 2021-03-28 18:11:42.000000000 +0200 @@ -8,7 +8,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; double dval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/yacc/expr.oxout.tab.c new/byacc-20210328/test/yacc/expr.oxout.tab.c --- old/byacc-20200910/test/yacc/expr.oxout.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/yacc/expr.oxout.tab.c 2021-03-28 18:11:44.000000000 +0200 @@ -117,7 +117,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 31 "expr.oxout.y" -typedef union { +typedef union YYSTYPE { struct yyyOxAttrbs { struct yyyStackItem *yyyOxStackItem; } yyyOxAttrbs; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/yacc/expr.oxout.tab.h new/byacc-20210328/test/yacc/expr.oxout.tab.h --- old/byacc-20200910/test/yacc/expr.oxout.tab.h 2017-02-02 02:42:38.000000000 +0100 +++ new/byacc-20210328/test/yacc/expr.oxout.tab.h 2021-03-28 18:11:44.000000000 +0200 @@ -6,7 +6,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union { +typedef union YYSTYPE { struct yyyOxAttrbs { struct yyyStackItem *yyyOxStackItem; } yyyOxAttrbs; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/yacc/ok_syntax1.tab.c new/byacc-20210328/test/yacc/ok_syntax1.tab.c --- old/byacc-20200910/test/yacc/ok_syntax1.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/yacc/ok_syntax1.tab.c 2021-03-28 18:11:44.000000000 +0200 @@ -117,7 +117,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 43 "ok_syntax1.y" -typedef union +typedef union YYSTYPE { char * cval; int ival; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/yacc/ok_syntax1.tab.h new/byacc-20210328/test/yacc/ok_syntax1.tab.h --- old/byacc-20200910/test/yacc/ok_syntax1.tab.h 2018-05-09 02:28:22.000000000 +0200 +++ new/byacc-20210328/test/yacc/ok_syntax1.tab.h 2021-03-28 18:11:44.000000000 +0200 @@ -20,7 +20,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { char * cval; int ival; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/yacc/varsyntax_calc1.tab.c new/byacc-20210328/test/yacc/varsyntax_calc1.tab.c --- old/byacc-20200910/test/yacc/varsyntax_calc1.tab.c 2020-09-10 22:03:15.000000000 +0200 +++ new/byacc-20210328/test/yacc/varsyntax_calc1.tab.c 2021-03-28 18:11:45.000000000 +0200 @@ -131,7 +131,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 32 "varsyntax_calc1.y" -typedef union +typedef union YYSTYPE { int ival; /* dreg & vreg array index values*/ double dval; /* floating point values*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/test/yacc/varsyntax_calc1.tab.h new/byacc-20210328/test/yacc/varsyntax_calc1.tab.h --- old/byacc-20200910/test/yacc/varsyntax_calc1.tab.h 2014-03-29 00:50:29.000000000 +0100 +++ new/byacc-20210328/test/yacc/varsyntax_calc1.tab.h 2021-03-28 18:11:45.000000000 +0200 @@ -8,7 +8,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; /* dreg & vreg array index values*/ double dval; /* floating point values*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/warshall.c new/byacc-20210328/warshall.c --- old/byacc-20200910/warshall.c 2020-09-10 19:31:42.000000000 +0200 +++ new/byacc-20210328/warshall.c 2020-09-22 22:17:00.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: warshall.c,v 1.8 2020/09/10 17:31:42 tom Exp $ */ +/* $Id: warshall.c,v 1.9 2020/09/22 20:17:00 tom Exp $ */ #include "defs.h" @@ -28,7 +28,7 @@ while (rowj < relend) { - if (*ccol & (unsigned)(1 << i)) + if (*ccol & (1U << i)) { rp = rowi; rend = rowj + rowsize; @@ -70,7 +70,7 @@ rp = R; while (rp < relend) { - *rp |= (unsigned)(1 << i); + *rp |= (1U << i); if (++i >= BITS_PER_WORD) { i = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20200910/yacc.1 new/byacc-20210328/yacc.1 --- old/byacc-20200910/yacc.1 2020-09-10 21:30:12.000000000 +0200 +++ new/byacc-20210328/yacc.1 2021-03-28 18:39:46.000000000 +0200 @@ -1,4 +1,4 @@ -.\" $Id: yacc.1,v 1.35 2020/09/10 19:30:12 tom Exp $ +.\" $Id: yacc.1,v 1.36 2021/03/28 16:39:46 tom Exp $ .\" .\" .TH YACC 1 "July\ 15,\ 1990" .\" .UC 6 @@ -27,7 +27,7 @@ .ie n .IP \(bu 4 .el .IP \(bu 2 .. -.TH YACC 1 "September 10, 2020" "Berkeley Yacc" "User Commands" +.TH YACC 1 "March 28, 2021" "Berkeley Yacc" "User Commands" .SH NAME \*N \- an LALR(1) parser generator .SH SYNOPSIS @@ -252,7 +252,7 @@ The bracketed \fIcode\fP is invoked whenever the parser discards one of the symbols. Within \fIcode\fP, \*(``\fB$$\fP\*('' or -\*(``\fB$<tag>$\fP\*('' designates the semantic value associated with the +\*(``\fB$<\fP\fItag\fP\fB>$\fP\*('' designates the semantic value associated with the discarded symbol, and \*(``\fB@$\fP\*('' designates its location (see \fB%locations\fP directive). .IP @@ -291,8 +291,8 @@ similar to management of semantic value information provided in \fByylval\fP. .IP As for semantic values, locations can be referenced within actions using -\fB@$\fP to refer to the location of the left hand side symbol, and \fB@N\fP -(\fBN\fP an integer) to refer to the location of one of the right hand side +\fB@$\fP to refer to the location of the left hand side symbol, and \fB@\fP\fIN\fP +(\fIN\fP an integer) to refer to the location of one of the right hand side symbols. Also as for semantic values, when a rule is matched, a default action is used the compute the location represented by \fB@$\fP as the
