From aef4c32bca2e58f681bfcc0887f71ecdfcbf08f48bfa6f3648d49134e2c1575c Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 3 Jun 2023 12:13:21 +0000 Subject: [PATCH] Accepting request 1090570 from home:dirkmueller:Factory - update to 20230521: * error.c, defs.h, reader.c: allow @1 or $@ with a warning if no %locations was given * reader.c: clear pointer in end_ainfo() after freeing it. * reader.c: report errors in %define as "unexpected value" add/use macros begin_ainfo() and end_ainfo() to reduce clutter * defs.h, error.c: add function unexpected_value() * add %nterm as an alias for %type, since bison made that confusion. * reader.c: ensure that filler_buf and prefix_buf are initialized for the special case where they are empty (report by Martin Jansa, cf: 20230219) * output.c: make test-differences smaller when compiling with YY_NO_LEAKS by replacing a blank line with the generated #define rather than adding 3 lines. * reader.c: correct a use-after-free in more_curly, which could occur if a %lex-param or %parse-param was multi-line (Redhat #2183006). * main.c: rename no_space() to on_error() * error.c: rename no_space() to no_error(), handling any errno * defs.h: rename no_space() to on_error() OBS-URL: https://build.opensuse.org/request/show/1090570 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=52 --- byacc-20230219.tgz | 3 --- byacc-20230219.tgz.asc | 15 --------------- byacc-20230521.tgz | 3 +++ byacc-20230521.tgz.asc | 15 +++++++++++++++ byacc.changes | 24 ++++++++++++++++++++++++ byacc.spec | 2 +- 6 files changed, 43 insertions(+), 19 deletions(-) delete mode 100644 byacc-20230219.tgz delete mode 100644 byacc-20230219.tgz.asc create mode 100644 byacc-20230521.tgz create mode 100644 byacc-20230521.tgz.asc diff --git a/byacc-20230219.tgz b/byacc-20230219.tgz deleted file mode 100644 index 5d17b90..0000000 --- a/byacc-20230219.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36b972a6d4ae97584dd186925fbbc397d26cb20632a76c2f52ac7653cd081b58 -size 898360 diff --git a/byacc-20230219.tgz.asc b/byacc-20230219.tgz.asc deleted file mode 100644 index 3444439..0000000 --- a/byacc-20230219.tgz.asc +++ /dev/null @@ -1,15 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Comment: See https://invisible-island.net/public/public.html for info - -iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmPzaBcACgkQzCr0RyFn -vgNgzAv/Sf9Y+keRvp6/vJBmzr5Q4tzs2k4CoitEgadl6FBpqMvr6JN8LaX2FDP9 -1IkxvZFt0N9/EDoykzITvX9BMLuDnglPCEZsYcG0N4NcaAPTCUU59yETCvpYd3/S -swKmQqsFlzAaYUcJlL91ayCFzls7xmzfcHSRjAZdFmTh4b1UBdHHH+Ad2Cku5EIu -YIY0jgEyxCln+CeC+FPKd7N7pdIisrhZrXaoSS5N4FkdDUN+knQbeiEF+gzQJ0Pj -WIc8md4Rk/5JGjMqQSqW4R5Glij++7dg9jskYYFaeY2pZNCoLA3E8SLuyC32Coz/ -MxG53oAwQC3vAYHmOz+1/erhVJYUEE0aZXhLilVqvvpeOYVOOz/zetgXU90p3bxu -aKtGPoeu79wW3DbewkZkcOkEuqTqB6ed+baJ2o2RMQwEdyHegM1NFo2NDLysVeWE -7c8RC5CLPaP8QZeL69/EI9TOkXoX69PolrQ68DnWUqpYkD78NxnoHCkv2Tm433Ey -GgudIs0m -=k4/h ------END PGP SIGNATURE----- diff --git a/byacc-20230521.tgz b/byacc-20230521.tgz new file mode 100644 index 0000000..de9a419 --- /dev/null +++ b/byacc-20230521.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ad915a7d5833aa38a5e31bd077505666029c35e365dff8569fe4598eaa9fef2 +size 905214 diff --git a/byacc-20230521.tgz.asc b/byacc-20230521.tgz.asc new file mode 100644 index 0000000..e8a55bf --- /dev/null +++ b/byacc-20230521.tgz.asc @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNATURE----- +Comment: See https://invisible-island.net/public/public.html for info + +iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmRqfaYACgkQzCr0RyFn +vgNZVAwAmo3/Rft321n9oo5fDziZ9qen3JoORJheaWYND0F79YHpXD8aWPXW88dh +gPb4pNWOrnUj4x7rYbykt/hSP1hKCOEA6OrQkKX7DdcXLOdQMLpBbtWMEr/56PAA +4wwzDl5uqkyJJW73RrABDL1FK0EpATniV08nSRNJ1MpmPXH0VvRPMoA7KPhdT825 +9eTpDg7kVAe1QHifkuMIDrWO/isj+pq1VlFMYPXD/TuV+blP7VzqVH8fJjjJmxDn +ErRyimBXhX96Jlr7Ze8u/zSGQX5LflO3LgZNW9wxPgnr8Oe7d7UwWI7SC+p4JP0w +7FY3zTWFM4L6QoKQ1YTBV/h8USgkHH4nO7XLC9EPZKxgwTazMeSXW4n4mucY3Ju3 +Z/+lZ1x43WVZ498uvEJh/HRNY6SACNY0Aw2emf76t64cb08iwCS6VTKU92tUBhCS +1XAHtUlYhfW+2yjR6vbwfQMYQwBKruiOj9ZQYPLdZxutrbAn2m+5Lrmw22Mz/ZEs +DZ2/jTAN +=6w4F +-----END PGP SIGNATURE----- diff --git a/byacc.changes b/byacc.changes index 0c544b0..fc57bd8 100644 --- a/byacc.changes +++ b/byacc.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Jun 2 20:59:36 UTC 2023 - Dirk Müller + +- update to 20230521: + * error.c, defs.h, reader.c: + allow @1 or $@ with a warning if no %locations was given + * reader.c: clear pointer in end_ainfo() after freeing it. + * reader.c: report errors in %define as "unexpected value" + add/use macros begin_ainfo() and end_ainfo() to reduce clutter + * defs.h, error.c: add function unexpected_value() + * add %nterm as an alias for %type, since bison made that confusion. + * reader.c: + ensure that filler_buf and prefix_buf are initialized for the special case + where they are empty (report by Martin Jansa, cf: 20230219) + * output.c: + make test-differences smaller when compiling with YY_NO_LEAKS by replacing + a blank line with the generated #define rather than adding 3 lines. + * reader.c: + correct a use-after-free in more_curly, which could occur if a %lex-param + or %parse-param was multi-line (Redhat #2183006). + * main.c: rename no_space() to on_error() + * error.c: rename no_space() to no_error(), handling any errno + * defs.h: rename no_space() to on_error() + ------------------------------------------------------------------- Tue Mar 7 20:06:37 UTC 2023 - Dirk Müller diff --git a/byacc.spec b/byacc.spec index 480cb14..a43e296 100644 --- a/byacc.spec +++ b/byacc.spec @@ -18,7 +18,7 @@ Name: byacc -Version: 20230219 +Version: 20230521 Release: 0 Summary: LALR(1) parser generator License: SUSE-Public-Domain