Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package byacc for openSUSE:Factory checked in at 2026-05-11 16:48:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/byacc (Old) and /work/SRC/openSUSE:Factory/.byacc.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "byacc" Mon May 11 16:48:29 2026 rev:37 rq:1352327 version:20260126 Changes: -------- --- /work/SRC/openSUSE:Factory/byacc/byacc.changes 2025-09-12 21:09:38.647515737 +0200 +++ /work/SRC/openSUSE:Factory/.byacc.new.1966/byacc.changes 2026-05-11 16:48:44.303493018 +0200 @@ -1,0 +2,6 @@ +Wed May 6 20:10:08 UTC 2026 - Dirk Müller <[email protected]> + +- update to 20260126: + * add/use puts_trim() to trim trailing blanks from output files + +------------------------------------------------------------------- Old: ---- byacc-20241231.tgz byacc-20241231.tgz.asc New: ---- byacc-20260126.tgz byacc-20260126.tgz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ byacc.spec ++++++ --- /var/tmp/diff_new_pack.jbAeOW/_old 2026-05-11 16:48:44.811513832 +0200 +++ /var/tmp/diff_new_pack.jbAeOW/_new 2026-05-11 16:48:44.815513996 +0200 @@ -1,7 +1,7 @@ # # spec file for package byacc # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2010 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -18,10 +18,10 @@ Name: byacc -Version: 20241231 +Version: 20260126 Release: 0 Summary: LALR(1) parser generator -License: SUSE-Public-Domain +License: LicenseRef-SUSE-Public-Domain Group: Development/Languages/C and C++ URL: https://invisible-island.net/byacc/byacc.html Source0: https://invisible-mirror.net/archives/byacc/byacc-%{version}.tgz ++++++ byacc-20241231.tgz -> byacc-20260126.tgz ++++++ ++++ 5415 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-20241231/CHANGES new/byacc-20260126/CHANGES --- old/byacc-20241231/CHANGES 2024-12-31 23:18:45.000000000 +0100 +++ new/byacc-20260126/CHANGES 2026-01-24 18:53:36.000000000 +0100 @@ -1,3 +1,81 @@ +2026-01-24 Thomas E. Dickey <[email protected]> + + * test/expr.oxout.h, test/btyacc/calc_code_all.tab.c, + test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.tab.c, + test/btyacc/calc_code_provides.tab.c, + test/btyacc/calc_code_provides.tab.h, + test/btyacc/calc_code_requires.tab.c, + test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.tab.c, + test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h, + test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h, + test/yacc/calc_code_default.tab.c, test/yacc/calc_code_provides.tab.c, + test/yacc/calc_code_provides.tab.h, + test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h, + test/yacc/calc_code_top.tab.c, test/yacc/ok_syntax1.tab.c, + test/yacc/ok_syntax1.tab.h: + trim + + * output.c, defs.h, reader.c: + add/use puts_trim() to trim trailing blanks from output files + + * package/debian/copyright: bump + + * configure: regen + + * VERSION, package/byacc.spec, package/debian/changelog, + package/mingw-byacc.spec, package/pkgsrc/Makefile: + bump + +2025-12-25 Thomas E. Dickey <[email protected]> + + * aclocal.m4: resync with my-autoconf + +2025-12-14 Thomas E. Dickey <[email protected]> + + * VERSION, package/byacc.spec, package/debian/changelog, + package/mingw-byacc.spec, package/pkgsrc/Makefile: + bump + + * configure: regen + + * aclocal.m4: + resync with my-autoconf: reduces warnings if "modern" autoconf is used + + * configure.in: adjusted with autoupdate + +2025-11-11 Thomas E. Dickey <[email protected]> + + * configure: regen + + * aclocal.m4: resync with my-autoconf + fixes for portability vs "t64" variants of glibc + +2025-10-07 Thomas E. Dickey <[email protected]> + + * main.c, closure.c, graph.c, lalr.c, lr0.c, mkpar.c, output.c, + reader.c, verbose.c, warshall.c: + cppcheck + + * package/debian/copyright, VERSION, package/byacc.spec, + package/debian/changelog, package/mingw-byacc.spec, + package/pkgsrc/Makefile: + bump + + * configure: regen + + * aclocal.m4: resync with my-autoconf + use CF_PROG_INSTALL + + * configure.in: use CF_PROG_INSTALL + +2025-07-09 Thomas E. Dickey <[email protected]> + + * config.guess, config.sub: update to 2025-07-10 + +2025-06-08 Thomas E. Dickey <[email protected]> + + * install-sh: fix license + 2024-12-31 Thomas E. Dickey <[email protected]> * package/pkgsrc/distinfo: regen 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-20241231/MANIFEST new/byacc-20260126/MANIFEST --- old/byacc-20241231/MANIFEST 2024-12-31 16:42:50.000000000 +0100 +++ new/byacc-20260126/MANIFEST 2026-01-24 13:09:51.000000000 +0100 @@ -1,4 +1,4 @@ -MANIFEST for byacc, version t20241231 +MANIFEST for byacc, version t20260126 -------------------------------------------------------------------------------- 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-20241231/VERSION new/byacc-20260126/VERSION --- old/byacc-20241231/VERSION 2024-12-31 16:42:50.000000000 +0100 +++ new/byacc-20260126/VERSION 2026-01-24 13:09:51.000000000 +0100 @@ -1 +1 @@ -20241231 +20260126 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-20241231/closure.c new/byacc-20260126/closure.c --- old/byacc-20241231/closure.c 2022-01-09 17:22:58.000000000 +0100 +++ new/byacc-20260126/closure.c 2025-10-08 02:22:08.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: closure.c,v 1.14 2022/01/09 16:22:58 tom Exp $ */ +/* $Id: closure.c,v 1.15 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -30,7 +30,7 @@ row = EFF; for (i = start_symbol; i < nsyms; i++) { - Value_t *sp = derives[i]; + const Value_t *sp = derives[i]; for (rule = *sp; rule > 0; rule = *++sp) { symbol = ritem[rrhs[rule]]; @@ -56,7 +56,7 @@ unsigned *rrow; int j; unsigned cword = 0; - Value_t *rp; + const Value_t *rp; int rule; int i; @@ -72,7 +72,7 @@ rrow = first_derives; for (i = start_symbol; i < nsyms; i++) { - unsigned *vrow = EFF + ((i - ntokens) * varsetsize); + const unsigned *vrow = EFF + ((i - ntokens) * varsetsize); unsigned k = BITS_PER_WORD; for (j = start_symbol; j < nsyms; k++, j++) @@ -109,12 +109,12 @@ unsigned ruleno; unsigned i; Value_t *csp; - unsigned *dsp; + const unsigned *dsp; unsigned *rsp; int rulesetsize; - Value_t *csend; - unsigned *rsend; + const Value_t *csend; + const unsigned *rsend; Value_t itemno; rulesetsize = WORDSIZE(nrules); 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-20241231/configure.in new/byacc-20260126/configure.in --- old/byacc-20241231/configure.in 2023-05-19 09:58:43.000000000 +0200 +++ new/byacc-20260126/configure.in 2025-12-14 22:55:02.000000000 +0100 @@ -1,16 +1,17 @@ dnl Process this file with 'autoconf' to produce a 'configure' script -dnl $Id: configure.in,v 1.29 2023/05/19 07:58:43 tom Exp $ +dnl $Id: configure.in,v 1.31 2025/12/14 21:55:02 tom Exp $ AC_PREREQ(2.52.20200802) -AC_REVISION($Revision: 1.29 $) -AC_INIT(main.c) -AC_CONFIG_HEADER(config.h:config_h.in) +AC_REVISION($Revision: 1.31 $) +AC_INIT +AC_CONFIG_SRCDIR([main.c]) +AC_CONFIG_HEADERS(config.h:config_h.in) -CF_CHECK_CACHE([AC_CANONICAL_SYSTEM]) +CF_CHECK_CACHE([AC_CANONICAL_TARGET]) AC_ARG_PROGRAM CF_PROG_CC AC_PROG_MAKE_SET -AC_PROG_INSTALL +CF_PROG_INSTALL CF_MAKE_TAGS CF_PROG_AWK CF_PROG_LINT @@ -23,12 +24,12 @@ AC_CHECK_HEADERS(fcntl.h) CF_MKSTEMP CF_GETOPT_HEADER -AC_HAVE_FUNCS(getopt vsnprintf) +AC_CHECK_FUNCS([getopt vsnprintf]) AC_MSG_CHECKING(for maximum table size) AC_ARG_WITH([max-table-size], - [AC_HELP_STRING([--with-max-table-size=N], - [set the maximum table size = N (no default)])]) + [AS_HELP_STRING([--with-max-table-size=N], + [set the maximum table size = N (no default)])]) if test -n "$with_max_table_size" then AC_MSG_RESULT($with_max_table_size) @@ -44,7 +45,7 @@ AC_MSG_CHECKING(if backtracking extension is wanted) CF_ARG_DISABLE([btyacc], - [AC_HELP_STRING([--disable-btyacc], + [AS_HELP_STRING([--disable-btyacc], [disable support for the btyacc backtracking extension (default: enabled)])], [enable_btyacc=no], [enable_btyacc=yes]) @@ -67,5 +68,6 @@ AC_TYPE_MODE_T ### output makefile -AC_OUTPUT(makefile) +AC_CONFIG_FILES([makefile])dnl +AC_OUTPUT CF_MAKE_DOCS(yacc,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-20241231/defs.h new/byacc-20260126/defs.h --- old/byacc-20241231/defs.h 2024-12-14 15:34:38.000000000 +0100 +++ new/byacc-20260126/defs.h 2026-01-24 14:46:31.000000000 +0100 @@ -1,4 +1,4 @@ -/* $Id: defs.h,v 1.75 2024/12/14 14:34:38 tom Exp $ */ +/* $Id: defs.h,v 1.76 2026/01/24 13:46:31 tom Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> @@ -563,6 +563,7 @@ : (*(m)->ptr++ = (char) (ch))) /* output.c */ +extern void puts_trim(const char *, FILE *); extern void output(void); /* reader.c */ 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-20241231/graph.c new/byacc-20260126/graph.c --- old/byacc-20241231/graph.c 2020-09-10 19:22:51.000000000 +0200 +++ new/byacc-20260126/graph.c 2025-10-08 02:22:08.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: graph.c,v 1.9 2020/09/10 17:22:51 tom Exp $ */ +/* $Id: graph.c,v 1.10 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -59,7 +59,7 @@ for (isp = itemset; isp < itemsetend; isp++) { - Value_t *sp1; + const Value_t *sp1; int rule; sp1 = sp = ritem + *isp; @@ -98,7 +98,7 @@ if (ruleno == LAruleno[larno]) { int i; - unsigned *rowp = LA + larno * tokensetsize; + const unsigned *rowp = LA + larno * tokensetsize; fprintf(graph_file, " { "); for (i = ntokens - 1; i >= 0; i--) 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-20241231/lalr.c new/byacc-20260126/lalr.c --- old/byacc-20241231/lalr.c 2024-12-14 17:48:04.000000000 +0100 +++ new/byacc-20260126/lalr.c 2025-10-08 02:22:08.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: lalr.c,v 1.15 2024/12/14 16:48:04 tom Exp $ */ +/* $Id: lalr.c,v 1.16 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -112,7 +112,7 @@ set_maxrhs(void) { Value_t *itemp; - Value_t *item_end; + const Value_t *item_end; int length; int max; @@ -526,7 +526,9 @@ compute_lookaheads(void) { int i, n; - unsigned *fp1, *fp2, *fp3; + unsigned *fp1; + const unsigned *fp2; + unsigned *fp3; shorts *sp, *next; unsigned *rowp; @@ -586,9 +588,9 @@ { unsigned *fp1; unsigned *fp2; - unsigned *fp3; + const unsigned *fp3; int j; - Value_t *rp; + const Value_t *rp; Value_t height; unsigned *base; 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-20241231/lr0.c new/byacc-20260126/lr0.c --- old/byacc-20241231/lr0.c 2024-12-14 15:35:14.000000000 +0100 +++ new/byacc-20260126/lr0.c 2025-10-08 02:22:08.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: lr0.c,v 1.22 2024/12/14 14:35:14 tom Exp $ */ +/* $Id: lr0.c,v 1.23 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -43,7 +43,7 @@ allocate_itemsets(void) { Value_t *itemp; - Value_t *item_end; + const Value_t *item_end; int i; int count; int max; @@ -160,8 +160,8 @@ get_state(int symbol) { int key; - Value_t *isp1; - Value_t *iend; + const Value_t *isp1; + const Value_t *iend; core *sp; int n; @@ -184,7 +184,7 @@ { if (sp->nitems == n) { - Value_t *isp2; + const Value_t *isp2; found = 1; isp1 = kernel_base[symbol]; @@ -223,12 +223,14 @@ initialize_states(void) { unsigned i; - Value_t *start_derives; + const Value_t *start_derives; core *p; start_derives = derives[start_symbol]; for (i = 0; start_derives[i] >= 0; ++i) - continue; + { + ; + } p = (core *)MALLOC(sizeof(core) + i * sizeof(Value_t)); NO_SPACE(p); @@ -251,7 +253,7 @@ { Value_t i; int shiftcount; - Value_t *isp; + const Value_t *isp; Value_t *ksp; for (i = 0; i < nsyms; i++) @@ -286,9 +288,9 @@ { unsigned n; core *p; - Value_t *isp1; + const Value_t *isp1; Value_t *isp2; - Value_t *iend; + const Value_t *iend; #ifdef TRACE fprintf(stderr, "Entering new_state(%d)\n", symbol); @@ -402,9 +404,9 @@ save_shifts(void) { shifts *p; - Value_t *sp1; + const Value_t *sp1; Value_t *sp2; - Value_t *send; + const Value_t *send; p = (shifts *)allocate((sizeof(shifts) + (unsigned)(nshifts - 1) * sizeof(Value_t))); @@ -453,7 +455,7 @@ if (count) { Value_t *rp2; - Value_t *rend; + const Value_t *rend; p = (reductions *)allocate((sizeof(reductions) + (unsigned)(count - 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-20241231/main.c new/byacc-20260126/main.c --- old/byacc-20241231/main.c 2024-12-31 21:50:11.000000000 +0100 +++ new/byacc-20260126/main.c 2025-10-08 02:23:02.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.80 2024/12/31 20:50:11 tom Exp $ */ +/* $Id: main.c,v 1.81 2025/10/08 00:23:02 tom Exp $ */ #include <signal.h> #if !defined(_WIN32) || defined(__MINGW32__) @@ -380,7 +380,7 @@ if (!strncmp(a, "--", 2)) { - char *eqls; + const char *eqls; size_t lc; size_t len; @@ -597,7 +597,7 @@ size_t len; const char *defines_suffix; const char *externs_suffix; - char *suffix; + const char *suffix; suffix = NULL; defines_suffix = DEFINES_SUFFIX; @@ -642,7 +642,7 @@ { if (explicit_file_name) { - char *xsuffix; + const char *xsuffix; defines_file_name = strdup(output_file_name); if (defines_file_name == NULL) on_error(); @@ -656,7 +656,7 @@ !strcmp(xsuffix, ".cpp"))) /* C++ (Windows) */ { strncpy(defines_file_name, output_file_name, - (size_t) (xsuffix - output_file_name + 1)); + (size_t)(xsuffix - output_file_name + 1)); defines_file_name[xsuffix - output_file_name + 1] = 'h'; defines_file_name[xsuffix - output_file_name + 2] = 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-20241231/mkpar.c new/byacc-20260126/mkpar.c --- old/byacc-20241231/mkpar.c 2024-12-14 15:36:50.000000000 +0100 +++ new/byacc-20260126/mkpar.c 2025-10-08 02:22:08.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: mkpar.c,v 1.19 2024/12/14 14:36:50 tom Exp $ */ +/* $Id: mkpar.c,v 1.20 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -74,8 +74,8 @@ get_shifts(int stateno) { action *actions, *temp; - shifts *sp; - Value_t *to_state2; + const shifts *sp; + const Value_t *to_state2; actions = NULL; sp = shift_table[stateno]; @@ -117,7 +117,7 @@ for (i = m; i < n; i++) { int ruleno = LAruleno[i]; - unsigned *rowp = LA + i * tokensetsize; + const unsigned *rowp = LA + i * tokensetsize; for (j = ntokens - 1; j >= 0; j--) { @@ -171,8 +171,8 @@ static void find_final_state(void) { - Value_t *to_state2; - shifts *p; + const Value_t *to_state2; + const shifts *p; if ((p = shift_table[0]) != NULL) { 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-20241231/output.c new/byacc-20260126/output.c --- old/byacc-20241231/output.c 2024-12-14 17:52:47.000000000 +0100 +++ new/byacc-20260126/output.c 2026-01-24 14:47:41.000000000 +0100 @@ -1,4 +1,4 @@ -/* $Id: output.c,v 1.102 2024/12/14 16:52:47 tom Exp $ */ +/* $Id: output.c,v 1.104 2026/01/24 13:47:41 tom Exp $ */ #include "defs.h" @@ -31,6 +31,44 @@ static int lowzero; static long high; +void +puts_trim(const char *s, FILE * fp) +{ + int ch; + int trim = 0; + const char *t = NULL; + + while ((ch = *s++) != '\0') + { + if (ch == ' ' || ch == '\t') + { + if (trim++ == 0) + t = s - 1; + } + else if (ch == '\r' || ch == '\n') + { + trim = 0; + fputc(ch, fp); + } + else + { + if (trim) + { + while (t != (s - 1)) + { + fputc(*t++, fp); + } + trim = 0; + } + fputc(ch, fp); + } + } + if (trim) + { + fputc(*t, fp); + } +} + static void putc_code(FILE * fp, int c) { @@ -197,7 +235,7 @@ fprintf(fp, "\n"); } fprintf(fp, "/* %%code \"%s\" block start */\n", code_lines[cl].name); - fputs(code_lines[cl].lines, fp); + puts_trim(code_lines[cl].lines, fp); fprintf(fp, "/* %%code \"%s\" block end */\n", code_lines[cl].name); if (fp == code_file) { @@ -836,8 +874,8 @@ int t; Value_t loc; int ok; - Value_t *from; - Value_t *to; + const Value_t *from; + const Value_t *to; int newmax; i = order[vector]; @@ -1178,7 +1216,7 @@ static int is_C_identifier(char *name) { - char *s; + const char *s; int c; s = 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-20241231/package/byacc.spec new/byacc-20260126/package/byacc.spec --- old/byacc-20241231/package/byacc.spec 2024-12-31 16:42:50.000000000 +0100 +++ new/byacc-20260126/package/byacc.spec 2026-01-24 13:09:51.000000000 +0100 @@ -1,12 +1,12 @@ Summary: public domain Berkeley LALR Yacc parser generator %global AppVersion 2.0 -%global AppPatched 20241231 +%global AppPatched 20260126 %global AltProgram byacc2 %global UseProgram yacc -# $Id: byacc.spec,v 1.77 2024/12/31 15:42:50 tom Exp $ +# $Id: byacc.spec,v 1.80 2026/01/24 12:09:51 tom Exp $ Name: byacc Version: %{AppVersion}.%{AppPatched} Release: 1 @@ -103,6 +103,9 @@ %changelog # each patch should add its ChangeLog entries here +* Sat Jan 24 2026 Thomas E. Dickey +- testing byacc 2.0-20260126 + * Sun Jan 09 2022 Thomas Dickey - rpmlint 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-20241231/package/debian/changelog new/byacc-20260126/package/debian/changelog --- old/byacc-20241231/package/debian/changelog 2024-12-31 16:42:50.000000000 +0100 +++ new/byacc-20260126/package/debian/changelog 2026-01-24 13:09:51.000000000 +0100 @@ -1,3 +1,27 @@ +byacc (1:2.0.20260126) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <[email protected]> Sat, 24 Jan 2026 07:09:51 -0500 + +byacc (1:2.0.20251214) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <[email protected]> Sun, 14 Dec 2025 18:40:32 -0500 + +byacc (1:2.0.20251111) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <[email protected]> Sun, 14 Dec 2025 18:38:48 -0500 + +byacc (1:2.0.20251007) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <[email protected]> Tue, 07 Oct 2025 19:59:03 -0400 + byacc (1:2.0.20241231) 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-20241231/package/debian/copyright new/byacc-20260126/package/debian/copyright --- old/byacc-20241231/package/debian/copyright 2024-01-09 09:59:40.000000000 +0100 +++ new/byacc-20260126/package/debian/copyright 2026-01-24 13:24:35.000000000 +0100 @@ -4,7 +4,7 @@ Source: https://invisible-island.net/byacc/ Files: * -Copyright: 2001-2023,2024 by Thomas E. Dickey +Copyright: 2001-2025,2026 by Thomas E. Dickey License: public-domain 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. @@ -41,7 +41,7 @@ ------------------------------------------------------------------------------- Files: aclocal.m4 -Copyright: 2004-2023,2024 by Thomas E. Dickey +Copyright: 2004-2024,2025 by Thomas E. Dickey License: other-BSD Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 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-20241231/package/mingw-byacc.spec new/byacc-20260126/package/mingw-byacc.spec --- old/byacc-20241231/package/mingw-byacc.spec 2024-12-31 16:42:50.000000000 +0100 +++ new/byacc-20260126/package/mingw-byacc.spec 2026-01-24 13:09:51.000000000 +0100 @@ -1,11 +1,11 @@ -Summary: public domain Berkeley LALR Yacc parser generator +Summary: Public domain Berkeley LALR Yacc parser generator %global AppVersion 2.0 -%global AppPatched 20241231 +%global AppPatched 20260126 %global UseProgram yacc -# $Id: mingw-byacc.spec,v 1.54 2024/12/31 15:42:50 tom Exp $ +# $Id: mingw-byacc.spec,v 1.57 2026/01/24 12:09:51 tom Exp $ Name: byacc Version: %{AppVersion}.%{AppPatched} Release: 1 @@ -58,6 +58,9 @@ %changelog # each patch should add its ChangeLog entries here +* Sat Jan 24 2026 Thomas E. Dickey +- testing byacc 2.0-20260126 + * Sun Jan 09 2022 Thomas Dickey - rpmlint 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-20241231/package/pkgsrc/Makefile new/byacc-20260126/package/pkgsrc/Makefile --- old/byacc-20241231/package/pkgsrc/Makefile 2024-12-31 16:55:44.000000000 +0100 +++ new/byacc-20260126/package/pkgsrc/Makefile 2026-01-24 13:09:51.000000000 +0100 @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.35 2024/07/05 20:55:55 cheusov Exp $ # -DISTNAME= byacc-20241231 +DISTNAME= byacc-20260126 CATEGORIES= devel MASTER_SITES= https://invisible-mirror.net/archives/byacc/ EXTRACT_SUFX= .tgz 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-20241231/reader.c new/byacc-20260126/reader.c --- old/byacc-20241231/reader.c 2024-12-31 20:39:49.000000000 +0100 +++ new/byacc-20260126/reader.c 2026-01-24 14:45:39.000000000 +0100 @@ -1,4 +1,4 @@ -/* $Id: reader.c,v 1.106 2024/12/31 19:39:49 tom Exp $ */ +/* $Id: reader.c,v 1.108 2026/01/24 13:45:39 tom Exp $ */ #include "defs.h" @@ -400,7 +400,8 @@ static char * dup_line(void) { - char *p, *s, *t; + const char *s; + char *p, *t; if (line == NULL) return (NULL); @@ -413,7 +414,9 @@ s = line; t = p; while ((*t++ = *s++) != '\n') - continue; + { + ; + } return (p); } @@ -576,7 +579,7 @@ keyword(void) { int c; - char *t_cptr = cptr; + const char *t_cptr = cptr; c = *++cptr; if (isalpha(UCH(c))) @@ -928,7 +931,7 @@ putc(c, f); { char *s = copy_comment(); - fputs(s, f); + puts_trim(s, f); free(s); } need_newline = 1; @@ -958,9 +961,9 @@ { if (s && *s) { - fputs(s, text_file); + puts_trim(s, text_file); if (dflag) - fputs(s, union_file); + puts_trim(s, union_file); } } @@ -1450,7 +1453,7 @@ unterminated_string(&a); if (c == '\\') { - char *c_cptr = cptr - 1; + const char *c_cptr = cptr - 1; c = *cptr++; switch (c) @@ -1615,7 +1618,7 @@ if (name[0] == '$' && name[1] == '$' && isdigit(UCH(name[2]))) { - char *s = name + 3; + const char *s = name + 3; while (isdigit(UCH(*s))) ++s; @@ -1647,7 +1650,7 @@ { int c; long n; - char *base = cptr; + const char *base = cptr; n = 0; for (c = *cptr; isdigit(UCH(c)); c = *++cptr) @@ -1664,7 +1667,7 @@ } static char * -cache_tag(char *tag, size_t len) +cache_tag(const char *tag, size_t len) { int i; char *s; @@ -1701,7 +1704,7 @@ int c; int t_lineno = lineno; char *t_line = dup_line(); - char *t_cptr = t_line + (cptr - line); + const char *t_cptr = t_line + (cptr - line); ++cptr; c = nextc(); @@ -1735,7 +1738,7 @@ static char * scan_id(void) { - char *b = cptr; + const char *b = cptr; while (IS_NAME2(*cptr)) cptr++; @@ -2269,7 +2272,7 @@ static char * parse_id(char *p, char **save) { - char *b; + const char *b; while (isspace(UCH(*p))) if (*p++ == '\n') @@ -2480,7 +2483,7 @@ } static int -can_elide_arg(char **theptr, char *yyvaltag) +can_elide_arg(char **theptr, const char *yyvaltag) { char *p = *theptr; int rv = 0; @@ -2578,7 +2581,7 @@ *arg_cache[ARG_CACHE_SIZE]; static int -lookup_arg_cache(char *code) +lookup_arg_cache(const char *code) { struct arg_cache *entry; @@ -2634,7 +2637,7 @@ for (;;) { - char *s_cptr; + const char *s_cptr; c = nextc(); if (c != '%') @@ -2721,7 +2724,9 @@ int i; for (i = nitems - 1; (i > 0) && pitem[i]; --i) - continue; + { + ; + } if (pitem[i + 1] == NULL || pitem[i + 1]->tag != plhs[nrules]->tag) default_action_warning(plhs[nrules]->name); } @@ -2908,7 +2913,7 @@ #if defined(YYBTYACC) int haveyyval = 0; #endif - char *tag; + const char *tag; FILE *f = action_file; struct ainfo a; Value_t *offsets = NULL, maxoffset; @@ -2974,7 +2979,7 @@ { int d_lineno = lineno; char *d_line = dup_line(); - char *d_cptr = d_line + (cptr - line); + const char *d_cptr = d_line + (cptr - line); ++cptr; tag = get_tag(); @@ -3014,7 +3019,7 @@ #if defined(YYBTYACC) else if (isalpha(UCH(c)) || c == '_') { - char *arg = scan_id(); + const char *arg = scan_id(); for (i = plhs[nrules]->args - 1; i >= 0; i--) if (arg == plhs[nrules]->argnames[i]) break; @@ -3085,7 +3090,7 @@ #if defined(YYBTYACC) else if (isalpha(UCH(cptr[1])) || cptr[1] == '_') { - char *arg; + const char *arg; ++cptr; arg = scan_id(); for (i = plhs[nrules]->args - 1; i >= 0; i--) @@ -3257,7 +3262,7 @@ case '/': { char *s = copy_comment(); - fputs(s, f); + puts_trim(s, f); free(s); } goto loop; @@ -3297,7 +3302,7 @@ { int d_lineno = lineno; char *d_line = dup_line(); - char *d_cptr = d_line + (cptr - line); + const char *d_cptr = d_line + (cptr - line); ++cptr; tag = get_tag(); @@ -3566,7 +3571,7 @@ mark_symbol(void) { int c; - bucket *bp = NULL; + const bucket *bp = NULL; c = cptr[1]; if (c == '%' || c == '\\') @@ -3700,11 +3705,13 @@ t = name_pool + 13; for (bp = first_symbol; bp; bp = bp->next) { - char *s = bp->name; + const char *s = bp->name; p = t; while ((*t++ = *s++) != 0) - continue; + { + ; + } FREE(bp->name); bp->name = p; } @@ -3734,7 +3741,7 @@ *des = src; if (src) { - char *s; + const char *s; char *d; unsigned len = 1; @@ -3875,7 +3882,9 @@ while (j < k && n == symbol_value[j]) { while (++j < k && n == symbol_value[j]) - continue; + { + ; + } ++n; } v[i]->value = n; 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-20241231/test/btyacc/calc_code_all.tab.c new/byacc-20260126/test/btyacc/calc_code_all.tab.c --- old/byacc-20241231/test/btyacc/calc_code_all.tab.c 2024-12-14 17:50:11.000000000 +0100 +++ new/byacc-20260126/test/btyacc/calc_code_all.tab.c 2026-01-24 14:51:28.000000000 +0100 @@ -16,7 +16,7 @@ /* %code "top" block start */ #line 5 "calc_code_all.y" -/* CODE-TOP */ +/* CODE-TOP */ /* %code "top" block end */ #line 22 "calc_code_all.tab.c" #undef YYBTYACC @@ -373,7 +373,7 @@ /* %code "requires" block start */ #line 3 "calc_code_all.y" -/* CODE-REQUIRES */ +/* CODE-REQUIRES */ /* %code "requires" block end */ #line 379 "calc_code_all.tab.c" @@ -492,17 +492,17 @@ /* %code "provides" block start */ #line 4 "calc_code_all.y" -/* CODE-PROVIDES */ +/* CODE-PROVIDES */ #line 6 "calc_code_all.y" -/* CODE-PROVIDES2 */ +/* CODE-PROVIDES2 */ /* %code "provides" block end */ #line 500 "calc_code_all.tab.c" /* %code "" block start */ #line 1 "calc_code_all.y" -/* CODE-DEFAULT2 */ +/* CODE-DEFAULT2 */ #line 2 "calc_code_all.y" -/* CODE-DEFAULT */ +/* CODE-DEFAULT */ /* %code "" block end */ #line 508 "calc_code_all.tab.c" #line 73 "calc_code_all.y" 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-20241231/test/btyacc/calc_code_all.tab.h new/byacc-20260126/test/btyacc/calc_code_all.tab.h --- old/byacc-20241231/test/btyacc/calc_code_all.tab.h 2019-11-20 02:04:39.000000000 +0100 +++ new/byacc-20260126/test/btyacc/calc_code_all.tab.h 2026-01-24 14:51:28.000000000 +0100 @@ -3,16 +3,16 @@ /* %code "requires" block start */ #line 3 "calc_code_all.y" -/* CODE-REQUIRES */ +/* CODE-REQUIRES */ /* %code "requires" block end */ #define DIGIT 257 #define LETTER 258 #define UMINUS 259 /* %code "provides" block start */ #line 4 "calc_code_all.y" -/* CODE-PROVIDES */ +/* CODE-PROVIDES */ #line 6 "calc_code_all.y" -/* CODE-PROVIDES2 */ +/* CODE-PROVIDES2 */ /* %code "provides" block end */ #endif /* _calc_code_all__defines_h_ */ 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-20241231/test/btyacc/calc_code_default.tab.c new/byacc-20260126/test/btyacc/calc_code_default.tab.c --- old/byacc-20241231/test/btyacc/calc_code_default.tab.c 2024-12-14 17:50:11.000000000 +0100 +++ new/byacc-20260126/test/btyacc/calc_code_default.tab.c 2026-01-24 14:51:28.000000000 +0100 @@ -480,9 +480,9 @@ /* %code "" block start */ #line 1 "calc_code_default.y" -/* CODE-DEFAULT */ +/* CODE-DEFAULT */ #line 2 "calc_code_default.y" -/* CODE-DEFAULT2 */ +/* CODE-DEFAULT2 */ /* %code "" block end */ #line 488 "calc_code_default.tab.c" #line 69 "calc_code_default.y" 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-20241231/test/btyacc/calc_code_provides.tab.c new/byacc-20260126/test/btyacc/calc_code_provides.tab.c --- old/byacc-20241231/test/btyacc/calc_code_provides.tab.c 2024-12-14 17:50:11.000000000 +0100 +++ new/byacc-20260126/test/btyacc/calc_code_provides.tab.c 2026-01-24 14:51:28.000000000 +0100 @@ -480,9 +480,9 @@ /* %code "provides" block start */ #line 1 "calc_code_provides.y" -/* CODE-PROVIDES */ +/* CODE-PROVIDES */ #line 2 "calc_code_provides.y" -/* CODE-PROVIDES2 */ +/* CODE-PROVIDES2 */ /* %code "provides" block end */ #line 488 "calc_code_provides.tab.c" #line 69 "calc_code_provides.y" 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-20241231/test/btyacc/calc_code_provides.tab.h new/byacc-20260126/test/btyacc/calc_code_provides.tab.h --- old/byacc-20241231/test/btyacc/calc_code_provides.tab.h 2019-11-20 02:04:39.000000000 +0100 +++ new/byacc-20260126/test/btyacc/calc_code_provides.tab.h 2026-01-24 14:51:28.000000000 +0100 @@ -6,9 +6,9 @@ #define UMINUS 259 /* %code "provides" block start */ #line 1 "calc_code_provides.y" -/* CODE-PROVIDES */ +/* CODE-PROVIDES */ #line 2 "calc_code_provides.y" -/* CODE-PROVIDES2 */ +/* CODE-PROVIDES2 */ /* %code "provides" block end */ #endif /* _calc_code_provides__defines_h_ */ 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-20241231/test/btyacc/calc_code_requires.tab.c new/byacc-20260126/test/btyacc/calc_code_requires.tab.c --- old/byacc-20241231/test/btyacc/calc_code_requires.tab.c 2024-12-14 17:50:11.000000000 +0100 +++ new/byacc-20260126/test/btyacc/calc_code_requires.tab.c 2026-01-24 14:51:27.000000000 +0100 @@ -367,9 +367,9 @@ /* %code "requires" block start */ #line 1 "calc_code_requires.y" -/* CODE-REQUIRES */ +/* CODE-REQUIRES */ #line 2 "calc_code_requires.y" -/* CODE-REQUIRES2 */ +/* CODE-REQUIRES2 */ /* %code "requires" block end */ #line 375 "calc_code_requires.tab.c" 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-20241231/test/btyacc/calc_code_requires.tab.h new/byacc-20260126/test/btyacc/calc_code_requires.tab.h --- old/byacc-20241231/test/btyacc/calc_code_requires.tab.h 2019-11-20 02:04:39.000000000 +0100 +++ new/byacc-20260126/test/btyacc/calc_code_requires.tab.h 2026-01-24 14:51:27.000000000 +0100 @@ -3,9 +3,9 @@ /* %code "requires" block start */ #line 1 "calc_code_requires.y" -/* CODE-REQUIRES */ +/* CODE-REQUIRES */ #line 2 "calc_code_requires.y" -/* CODE-REQUIRES2 */ +/* CODE-REQUIRES2 */ /* %code "requires" block end */ #define DIGIT 257 #define LETTER 258 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-20241231/test/btyacc/calc_code_top.tab.c new/byacc-20260126/test/btyacc/calc_code_top.tab.c --- old/byacc-20241231/test/btyacc/calc_code_top.tab.c 2024-12-14 17:50:11.000000000 +0100 +++ new/byacc-20260126/test/btyacc/calc_code_top.tab.c 2026-01-24 14:51:27.000000000 +0100 @@ -16,9 +16,9 @@ /* %code "top" block start */ #line 1 "calc_code_top.y" -/* CODE-TOP */ +/* CODE-TOP */ #line 2 "calc_code_top.y" -/* CODE-TOP2 */ +/* CODE-TOP2 */ /* %code "top" block end */ #line 24 "calc_code_top.tab.c" #undef YYBTYACC 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-20241231/test/btyacc/ok_syntax1.tab.c new/byacc-20260126/test/btyacc/ok_syntax1.tab.c --- old/byacc-20241231/test/btyacc/ok_syntax1.tab.c 2024-12-14 17:50:11.000000000 +0100 +++ new/byacc-20260126/test/btyacc/ok_syntax1.tab.c 2026-01-24 14:51:27.000000000 +0100 @@ -137,7 +137,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 43 "ok_syntax1.y" -union CalcData +union CalcData { 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-20241231/test/btyacc/ok_syntax1.tab.h new/byacc-20260126/test/btyacc/ok_syntax1.tab.h --- old/byacc-20241231/test/btyacc/ok_syntax1.tab.h 2023-02-19 16:07:47.000000000 +0100 +++ new/byacc-20260126/test/btyacc/ok_syntax1.tab.h 2026-01-24 14:51:27.000000000 +0100 @@ -23,7 +23,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -union CalcData +union CalcData { 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-20241231/test/expr.oxout.h new/byacc-20260126/test/expr.oxout.h --- old/byacc-20241231/test/expr.oxout.h 2022-01-01 22:28:27.000000000 +0100 +++ new/byacc-20260126/test/expr.oxout.h 2026-01-24 18:53:36.000000000 +0100 @@ -42,7 +42,7 @@ yyyRSitem *yyyRSTop; yyyRSitem *yyyAfterRS; -yyyRSitem *yyyRS; +yyyRSitem *yyyRS; #undef yyparse #undef yylex 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-20241231/test/yacc/calc_code_all.tab.c new/byacc-20260126/test/yacc/calc_code_all.tab.c --- old/byacc-20241231/test/yacc/calc_code_all.tab.c 2024-12-14 17:50:26.000000000 +0100 +++ new/byacc-20260126/test/yacc/calc_code_all.tab.c 2026-01-24 14:51:27.000000000 +0100 @@ -16,7 +16,7 @@ /* %code "top" block start */ #line 5 "calc_code_all.y" -/* CODE-TOP */ +/* CODE-TOP */ /* %code "top" block end */ #line 22 "calc_code_all.tab.c" @@ -306,7 +306,7 @@ /* %code "requires" block start */ #line 3 "calc_code_all.y" -/* CODE-REQUIRES */ +/* CODE-REQUIRES */ /* %code "requires" block end */ #line 312 "calc_code_all.tab.c" @@ -338,17 +338,17 @@ /* %code "provides" block start */ #line 4 "calc_code_all.y" -/* CODE-PROVIDES */ +/* CODE-PROVIDES */ #line 6 "calc_code_all.y" -/* CODE-PROVIDES2 */ +/* CODE-PROVIDES2 */ /* %code "provides" block end */ #line 346 "calc_code_all.tab.c" /* %code "" block start */ #line 1 "calc_code_all.y" -/* CODE-DEFAULT2 */ +/* CODE-DEFAULT2 */ #line 2 "calc_code_all.y" -/* CODE-DEFAULT */ +/* CODE-DEFAULT */ /* %code "" block end */ #line 354 "calc_code_all.tab.c" #line 73 "calc_code_all.y" 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-20241231/test/yacc/calc_code_all.tab.h new/byacc-20260126/test/yacc/calc_code_all.tab.h --- old/byacc-20241231/test/yacc/calc_code_all.tab.h 2019-11-20 01:55:19.000000000 +0100 +++ new/byacc-20260126/test/yacc/calc_code_all.tab.h 2026-01-24 14:51:27.000000000 +0100 @@ -1,13 +1,13 @@ /* %code "requires" block start */ #line 3 "calc_code_all.y" -/* CODE-REQUIRES */ +/* CODE-REQUIRES */ /* %code "requires" block end */ #define DIGIT 257 #define LETTER 258 #define UMINUS 259 /* %code "provides" block start */ #line 4 "calc_code_all.y" -/* CODE-PROVIDES */ +/* CODE-PROVIDES */ #line 6 "calc_code_all.y" -/* CODE-PROVIDES2 */ +/* CODE-PROVIDES2 */ /* %code "provides" block end */ 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-20241231/test/yacc/calc_code_default.tab.c new/byacc-20260126/test/yacc/calc_code_default.tab.c --- old/byacc-20241231/test/yacc/calc_code_default.tab.c 2024-12-14 17:50:26.000000000 +0100 +++ new/byacc-20260126/test/yacc/calc_code_default.tab.c 2026-01-24 14:51:27.000000000 +0100 @@ -326,9 +326,9 @@ /* %code "" block start */ #line 1 "calc_code_default.y" -/* CODE-DEFAULT */ +/* CODE-DEFAULT */ #line 2 "calc_code_default.y" -/* CODE-DEFAULT2 */ +/* CODE-DEFAULT2 */ /* %code "" block end */ #line 334 "calc_code_default.tab.c" #line 69 "calc_code_default.y" 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-20241231/test/yacc/calc_code_provides.tab.c new/byacc-20260126/test/yacc/calc_code_provides.tab.c --- old/byacc-20241231/test/yacc/calc_code_provides.tab.c 2024-12-14 17:50:26.000000000 +0100 +++ new/byacc-20260126/test/yacc/calc_code_provides.tab.c 2026-01-24 14:51:27.000000000 +0100 @@ -326,9 +326,9 @@ /* %code "provides" block start */ #line 1 "calc_code_provides.y" -/* CODE-PROVIDES */ +/* CODE-PROVIDES */ #line 2 "calc_code_provides.y" -/* CODE-PROVIDES2 */ +/* CODE-PROVIDES2 */ /* %code "provides" block end */ #line 334 "calc_code_provides.tab.c" #line 69 "calc_code_provides.y" 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-20241231/test/yacc/calc_code_provides.tab.h new/byacc-20260126/test/yacc/calc_code_provides.tab.h --- old/byacc-20241231/test/yacc/calc_code_provides.tab.h 2019-11-20 01:55:19.000000000 +0100 +++ new/byacc-20260126/test/yacc/calc_code_provides.tab.h 2026-01-24 14:51:27.000000000 +0100 @@ -3,7 +3,7 @@ #define UMINUS 259 /* %code "provides" block start */ #line 1 "calc_code_provides.y" -/* CODE-PROVIDES */ +/* CODE-PROVIDES */ #line 2 "calc_code_provides.y" -/* CODE-PROVIDES2 */ +/* CODE-PROVIDES2 */ /* %code "provides" block end */ 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-20241231/test/yacc/calc_code_requires.tab.c new/byacc-20260126/test/yacc/calc_code_requires.tab.c --- old/byacc-20241231/test/yacc/calc_code_requires.tab.c 2024-12-14 17:50:26.000000000 +0100 +++ new/byacc-20260126/test/yacc/calc_code_requires.tab.c 2026-01-24 14:51:27.000000000 +0100 @@ -300,9 +300,9 @@ /* %code "requires" block start */ #line 1 "calc_code_requires.y" -/* CODE-REQUIRES */ +/* CODE-REQUIRES */ #line 2 "calc_code_requires.y" -/* CODE-REQUIRES2 */ +/* CODE-REQUIRES2 */ /* %code "requires" block end */ #line 308 "calc_code_requires.tab.c" 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-20241231/test/yacc/calc_code_requires.tab.h new/byacc-20260126/test/yacc/calc_code_requires.tab.h --- old/byacc-20241231/test/yacc/calc_code_requires.tab.h 2019-11-20 01:55:19.000000000 +0100 +++ new/byacc-20260126/test/yacc/calc_code_requires.tab.h 2026-01-24 14:51:27.000000000 +0100 @@ -1,8 +1,8 @@ /* %code "requires" block start */ #line 1 "calc_code_requires.y" -/* CODE-REQUIRES */ +/* CODE-REQUIRES */ #line 2 "calc_code_requires.y" -/* CODE-REQUIRES2 */ +/* CODE-REQUIRES2 */ /* %code "requires" block end */ #define DIGIT 257 #define LETTER 258 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-20241231/test/yacc/calc_code_top.tab.c new/byacc-20260126/test/yacc/calc_code_top.tab.c --- old/byacc-20241231/test/yacc/calc_code_top.tab.c 2024-12-14 17:50:26.000000000 +0100 +++ new/byacc-20260126/test/yacc/calc_code_top.tab.c 2026-01-24 14:51:27.000000000 +0100 @@ -16,9 +16,9 @@ /* %code "top" block start */ #line 1 "calc_code_top.y" -/* CODE-TOP */ +/* CODE-TOP */ #line 2 "calc_code_top.y" -/* CODE-TOP2 */ +/* CODE-TOP2 */ /* %code "top" block end */ #line 24 "calc_code_top.tab.c" 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-20241231/test/yacc/ok_syntax1.tab.c new/byacc-20260126/test/yacc/ok_syntax1.tab.c --- old/byacc-20241231/test/yacc/ok_syntax1.tab.c 2024-12-14 17:50:26.000000000 +0100 +++ new/byacc-20260126/test/yacc/ok_syntax1.tab.c 2026-01-24 14:51:27.000000000 +0100 @@ -117,7 +117,7 @@ #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 43 "ok_syntax1.y" -union CalcData +union CalcData { 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-20241231/test/yacc/ok_syntax1.tab.h new/byacc-20260126/test/yacc/ok_syntax1.tab.h --- old/byacc-20241231/test/yacc/ok_syntax1.tab.h 2023-02-19 16:08:06.000000000 +0100 +++ new/byacc-20260126/test/yacc/ok_syntax1.tab.h 2026-01-24 14:51:27.000000000 +0100 @@ -20,7 +20,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -union CalcData +union CalcData { 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-20241231/verbose.c new/byacc-20260126/verbose.c --- old/byacc-20241231/verbose.c 2021-05-21 01:57:23.000000000 +0200 +++ new/byacc-20260126/verbose.c 2025-10-08 02:22:08.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: verbose.c,v 1.14 2021/05/20 23:57:23 tom Exp $ */ +/* $Id: verbose.c,v 1.15 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -180,7 +180,7 @@ { int rule; Value_t *sp = ritem + statep->items[i]; - Value_t *sp1 = sp; + const Value_t *sp1 = sp; while (*sp >= 0) ++sp; @@ -217,7 +217,9 @@ if (rrhs[i] + 1 == rrhs[i + 1]) { for (j = 0; j < nnulls && i > null_rules[j]; ++j) - continue; + { + ; + } if (j == nnulls) { @@ -345,8 +347,8 @@ print_gotos(int stateno) { int i; - Value_t *to_state2; - shifts *sp; + const Value_t *to_state2; + const shifts *sp; putc('\n', verbose_file); sp = shift_table[stateno]; 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-20241231/warshall.c new/byacc-20260126/warshall.c --- old/byacc-20241231/warshall.c 2020-09-22 22:17:00.000000000 +0200 +++ new/byacc-20260126/warshall.c 2025-10-08 02:22:08.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: warshall.c,v 1.9 2020/09/22 20:17:00 tom Exp $ */ +/* $Id: warshall.c,v 1.10 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -8,9 +8,9 @@ int rowsize; unsigned i; unsigned *rowj; - unsigned *rp; - unsigned *rend; - unsigned *relend; + const unsigned *rp; + const unsigned *rend; + const unsigned *relend; unsigned *cword; unsigned *rowi; @@ -59,7 +59,7 @@ int rowsize; unsigned i; unsigned *rp; - unsigned *relend; + const unsigned *relend; transitive_closure(R, n);
