62 Commits

Author SHA256 Message Date
e21133f819 Accepting request 1304245 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1304245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=36
2025-09-12 19:09:25 +00:00
c10f94eada Accepting request 1304217 from home:dirkmueller:Factory
- update to 20241231:
  * main.c: s/0/NULL/
  * main.c: gcc warning
  * reader.c:
    make UCH() consistent wrt IS_xxxx macros
  * main.c:
    from NetBSD - if "-o" option is given, derive the filename of the ".h"
    definitions-file by stripping commonly-used C/C++ suffixes such as ".c"
    and then adding ".h"
  * main.c: provide a fallback definition for W_OK, e.g., for Windows
  * main.c: correct condition for using $TEMP environment variable
  * output.c, yaccpar.c: gcc15 zero vs null warnings

OBS-URL: https://build.opensuse.org/request/show/1304217
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=56
2025-09-12 08:22:41 +00:00
e587cd979f Accepting request 1158886 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1158886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=35
2024-03-20 20:10:16 +00:00
7c67bd216f Accepting request 1158809 from home:dirkmueller:Factory
- update to 20240109:
  * maintenance updates

  * aclocal.m4: resync with my-autoconf
- run test suite
- use --program-prefix instead of moving/renaming executables
* too many since 2010 to list here.. see

OBS-URL: https://build.opensuse.org/request/show/1158809
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=54
2024-03-18 07:39:50 +00:00
8eae45ad03 Accepting request 1090644 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1090644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=34
2023-06-04 14:41:42 +00:00
4702aad8a6 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
2023-06-03 12:13:21 +00:00
3812420d7c Accepting request 1070069 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1070069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=33
2023-03-09 16:44:37 +00:00
ef664624a3 Accepting request 1070026 from home:dirkmueller:Factory
- update to 20230219:
  * maintenance updates

OBS-URL: https://build.opensuse.org/request/show/1070026
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=50
2023-03-08 07:29:00 +00:00
1ab84f8722 Accepting request 1066997 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1066997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=32
2023-02-22 14:21:07 +00:00
d046a031e9 Accepting request 1066379 from home:akumar:branches:devel:tools:compiler
- update to 20230201:
  * configure.in: initialize $ac_includes_default
  * aclocal.m4: resync with my-autoconf

OBS-URL: https://build.opensuse.org/request/show/1066379
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=48
2023-02-21 12:31:53 +00:00
8927d4dfb8 Accepting request 1062179 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1062179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=31
2023-02-01 15:38:32 +00:00
2a1996776b Accepting request 1061777 from home:dirkmueller:Factory
- update to 20221229:
  * autoconf update
  * configure.in:
    correct help-message for --disable-btyacc option, and fix the reporting of
    the selected option value in the configure script's output

OBS-URL: https://build.opensuse.org/request/show/1061777
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=46
2023-01-31 07:48:32 +00:00
463e4e1576 Accepting request 1040605 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1040605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=30
2022-12-07 16:34:26 +00:00
70b4f53f29 Accepting request 1039858 from home:dirkmueller:Factory
- update to 20221106:
  * test/run_test.sh: use context diff, to work with AIX
  * defs.h:
    fprintf_lineno might be passed a null, when reading from stdin - show "(null)"
  * makefile.in, test/run_make.sh, test/run_test.sh, test/run_lint.sh:
    fgrep-fixes
  * yacc.1: mention use of stderr/stdout for usage/debugging
  * yacc.1: document %empty
  * yacc.1: document %debug
  * yacc.1: minor fixes with check-manpage

OBS-URL: https://build.opensuse.org/request/show/1039858
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=44
2022-12-06 10:54:55 +00:00
aa32abd1fb Accepting request 985077 from devel:tools:compiler
- update to 20220128:
  * change a few malloc's to calloc's so clang analyzer can see initialized data
  * modify address computation in closure.c to avoid undefined behavior on
    machines which do not support large offsets (analysis/patch by Jessica Clarke,
    cf: 2014-09-17)
  * testsuite and autotools/build script fixes

OBS-URL: https://build.opensuse.org/request/show/985077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=29
2022-06-26 09:58:40 +00:00
26b9ba8e46 - update to 20220128:
* change a few malloc's to calloc's so clang analyzer can see initialized data
  * modify address computation in closure.c to avoid undefined behavior on
    machines which do not support large offsets (analysis/patch by Jessica Clarke,
    cf: 2014-09-17)
  * testsuite and autotools/build script fixes

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=42
2022-06-25 20:39:00 +00:00
f6585d1d3b Accepting request 925967 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/925967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=28
2021-10-20 18:23:46 +00:00
68b7e6634c Accepting request 925698 from home:dirkmueller:Factory
- update to 20210808:
  * main.c: account for a memory-leak
  * fix memory-leak when replacing $$'s in destructor code
  * main.c, yacc.1: add "-h" option
  * line number reporting fixes

OBS-URL: https://build.opensuse.org/request/show/925698
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=41
2021-10-18 08:08:26 +00:00
084d89662b Accepting request 909883 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/909883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=27
2021-08-05 18:47:46 +00:00
fbc3310b71 Accepting request 908513 from home:dirkmueller:Factory
- update to 20210619:
  * btyaccpar.skel, yaccpar.skel: cancel unused assignments
  * output.c: fix gcc warning
  * test/run_test.sh, test/run_lint.sh, test/run_make.sh:
    shellcheck-warnings
  * test/run_test.sh: changes suggested at
    https://github.com/jannick0/byacc-snapshots/tree/YYINT-fix-20210520
  * autotools update

OBS-URL: https://build.opensuse.org/request/show/908513
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=40
2021-08-03 07:23:19 +00:00
4f9956e724 Accepting request 891935 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/891935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=26
2021-05-12 17:31:34 +00:00
71775139df Accepting request 891593 from home:dirkmueller:Factory
- 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)

OBS-URL: https://build.opensuse.org/request/show/891593
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=38
2021-05-10 05:30:46 +00:00
3a5620e286 Accepting request 835807 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/835807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=25
2020-09-25 14:32:38 +00:00
76a54ac326 Accepting request 835688 from home:dirkmueller:branches:devel:tools:compiler
- update to 20200910:
  * LICENSE: RCS_BASE
  * reader.c, output.c: cppcheck -- reduce scope
  update to version 2.0
  improve loop which skips backward through a (possibly nested) sequence of
  square-brackets.
  * reader.c: simplify a check to quiet a bogus cppcheck-warning
  * yacc.1: bump date
  * reader.c: add a note about a bogus cppcheck warning
  always check for gcc attributes, to work around defect in clang's imitation
  of this feature
  * reader.c: cppcheck -- scope reduction
  cppcheck -- eliminate bogus returns after no-return functions
  * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, graph.c, closure.c:
  cppcheck -- scope reduction

OBS-URL: https://build.opensuse.org/request/show/835688
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=36
2020-09-21 11:34:53 +00:00
e7408d725d Accepting request 791114 from devel:tools:compiler
- Update to version 20200330:
  * See attached CHANGES for complete list of changes
- Enable btyacc extension

OBS-URL: https://build.opensuse.org/request/show/791114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=24
2020-04-04 10:25:01 +00:00
25382c7f9f - Update to version 20200330:
* See attached CHANGES for complete list of changes
- Enable btyacc extension

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=34
2020-04-03 07:38:31 +00:00
532579c5cc Accepting request 754688 from devel:tools:compiler
- Update to version 20191125:
  * See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/request/show/754688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=23
2019-12-07 14:08:10 +00:00
9398d171d1 - Update to version 20191125:
* See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=32
2019-12-06 14:12:56 +00:00
10711837ac Accepting request 710371 from devel:tools:compiler
- Update to version 20190617:
  * See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/request/show/710371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=22
2019-06-17 19:34:59 +00:00
8ecd8842f8 - Update to version 20190617:
* See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=30
2019-06-17 14:52:43 +00:00
6aebd6315c Accepting request 622032 from devel:tools:compiler
- Update to version 20180609:
  * See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/request/show/622032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=21
2018-07-18 20:53:50 +00:00
0b18bbb58e OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=28 2018-07-11 08:06:45 +00:00
25bc159846 - Update to version 20180609:
* See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=27
2018-07-11 07:51:33 +00:00
e4d34a7df9 Accepting request 501180 from devel:tools:compiler
- Update to version 20170430:
  * See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/request/show/501180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=20
2017-06-05 16:51:12 +00:00
01d6fda911 - Update to version 20170430:
* See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=25
2017-06-05 14:25:16 +00:00
7a05953a81 Accepting request 486548 from devel:tools:compiler
- Update to version 20170201:
  * See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/request/show/486548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=19
2017-04-11 10:45:45 +00:00
133bcd6be0 - Update to version 20170201:
* See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=23
2017-04-07 18:05:42 +00:00
2a35dc5c35 Accepting request 453008 from devel:tools:compiler
- Update to version 20161202:
  * See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/request/show/453008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=18
2017-01-31 11:42:07 +00:00
7f23ec8dc8 - Update to version 20161202:
* See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=21
2017-01-27 17:13:09 +00:00
fd9a5fa0c1 Accepting request 407956 from devel:tools:compiler
- Update to version 20160606:
  * See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/request/show/407956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=17
2016-07-14 07:50:16 +00:00
1587115f2e - Update to version 20160606:
* See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=19
2016-07-12 21:26:35 +00:00
d359321640 Accepting request 320760 from devel:tools:compiler
1

OBS-URL: https://build.opensuse.org/request/show/320760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=16
2015-08-06 22:24:23 +00:00
746902348a Accepting request 320734 from home:pluskalm:branches:devel:tools:compiler
- Update to 20150711
  * See attached CHANGES for complete list of changes

OBS-URL: https://build.opensuse.org/request/show/320734
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=17
2015-08-05 17:06:08 +00:00
d28ccee5c6 Accepting request 288058 from devel:tools:compiler
1

OBS-URL: https://build.opensuse.org/request/show/288058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=15
2015-03-01 13:46:48 +00:00
Guido Berhoerster
f741d68b3e Accepting request 288015 from home:pluskalm:branches:devel:tools:compiler
- Cleanup spec file with spec-cleaner
- Add gpg signature
- Update to 20141128
        * lr0.c: coverity #39181: memory leak
- Changes in 2014-11-13
        * descrip.mms: support for openvms

OBS-URL: https://build.opensuse.org/request/show/288015
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=15
2015-02-27 10:11:15 +00:00
Stephan Kulow
d9df47aeac Accepting request 254941 from devel:tools:compiler
- update to version 20141006
  - package/debian/source/format: change to native format to work
    around regression in Debian packaging.
  - main.c: correct parameter for umask - for very old mkstemp's -
    and use type mode_t to quiet compiler warning
  - configure.in: add configure check for mode_t
  - reader.c: better fix for get_line, by ensuring there is enough
    space to null-terminate its result (prompted by discussion with
    Craig Rodrigues).
  - main.c: make change to umask before calling mkstemp, as
    suggested in Coverity #56902
  - reader.c: adjust logic in copy_action to avoid potential
    null-pointer dereference (Coverity #56901)
  - reader.c: adjust logic to avoid potential null-pointer
    dereference in compile_args (Coverity #63407)
  - reader.c: eliminate strcpy into fixed-size buffer (Coverity
    #63408)
  - yacc.1: document changes made with respect to %parse-param
  - output.c: add parameters from %parse-param to destructor.  The
    order of the parameters is intentionally inconsistent with
    yyparse/yyerror, for "compatibility" with bison.
  - output.c: use puts_param_types/puts_param_names to output
    lex_param data.
  - btyaccpar.c: add casts, change types to fix strict compiler
    warnings
  - output.c: gcc-warning
  - output.c: fix limit when merging real/workaround tables
  - output.c: for btyacc, it is possible to have no conflicts - but
    in that case, the "ctable" was not generated at all, while the
    skeleton uses the table.  The most straightforward (workaround)

OBS-URL: https://build.opensuse.org/request/show/254941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=14
2014-10-11 17:26:32 +00:00
Guido Berhoerster
555c671889 - update to version 20141006
- package/debian/source/format: change to native format to work
    around regression in Debian packaging.
  - main.c: correct parameter for umask - for very old mkstemp's -
    and use type mode_t to quiet compiler warning
  - configure.in: add configure check for mode_t
  - reader.c: better fix for get_line, by ensuring there is enough
    space to null-terminate its result (prompted by discussion with
    Craig Rodrigues).
  - main.c: make change to umask before calling mkstemp, as
    suggested in Coverity #56902
  - reader.c: adjust logic in copy_action to avoid potential
    null-pointer dereference (Coverity #56901)
  - reader.c: adjust logic to avoid potential null-pointer
    dereference in compile_args (Coverity #63407)
  - reader.c: eliminate strcpy into fixed-size buffer (Coverity
    #63408)
  - yacc.1: document changes made with respect to %parse-param
  - output.c: add parameters from %parse-param to destructor.  The
    order of the parameters is intentionally inconsistent with
    yyparse/yyerror, for "compatibility" with bison.
  - output.c: use puts_param_types/puts_param_names to output
    lex_param data.
  - btyaccpar.c: add casts, change types to fix strict compiler
    warnings
  - output.c: gcc-warning
  - output.c: fix limit when merging real/workaround tables
  - output.c: for btyacc, it is possible to have no conflicts - but
    in that case, the "ctable" was not generated at all, while the
    skeleton uses the table.  The most straightforward (workaround)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=13
2014-10-10 06:13:04 +00:00
Stephan Kulow
c1bdbf7894 Accepting request 246429 from devel:tools:compiler
- update to version 20140715
  * fix tests
  * remove obsolete -D option from usage message

OBS-URL: https://build.opensuse.org/request/show/246429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=12
2014-08-27 05:46:26 +00:00
Guido Berhoerster
3170374962 - update to version 20140715
* fix tests
  * remove obsolete -D option from usage message

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=11
2014-08-26 06:52:14 +00:00
Stephan Kulow
bd19fd4826 Accepting request 235428 from devel:tools:compiler
- update to version 20140422
  * too large number of changes to list here, see the included
    CHANGES file for a detailed list

OBS-URL: https://build.opensuse.org/request/show/235428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=11
2014-05-27 16:23:38 +00:00