2023-05-31 11:30:30 by Frederic Cambus | Files touched by this commit (2) | |
Log message:
byacc: update to 20230521.
2023-05-21 Thomas E. Dickey <dickey@invisible-island.net>
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
* configure: regen
* aclocal.m4:
updates for CF_INSTALL_MAN from reflex, which needs the symbolic link feature
* aclocal.m4:
improve install-man by adding sed commands for --program-transform-name
2023-05-19 Thomas E. Dickey <dickey@invisible-island.net>
* makefile.in: use CF_INSTALL_MAN
* aclocal.m4:
add CF_INSTALL_MAN, to begin refactoring install rule for manpage
* configure: regen
* configure.in: use CF_INSTALL_MAN
2023-05-18 Thomas E. Dickey <dickey@invisible-island.net>
* error.c, defs.h, reader.c:
allow @1 or $@ with a warning if no %locations was given
2023-05-17 Thomas E. Dickey <dickey@invisible-island.net>
* reader.c: clear pointer in end_ainfo() after freeing it.
2023-05-16 Thomas E. Dickey <dickey@invisible-island.net>
* reader.c: report errors in %define as "unexpected value"
* reader.c:
add/use macros begin_ainfo() and end_ainfo() to reduce clutter
* defs.h, error.c: add function unexpected_value()
* reader.c:
recognize bison's "%define api.pure" as an alternative to \
"%pure-parser"
* reader.c:
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: gcc-warnings
2023-05-15 Thomas E. Dickey <dickey@invisible-island.net>
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
* reader.c:
when copying parameters, check for a case where the last token is not a
name, e.g., "foo [1]" would have "[1]". In this case, scan \
back to find
the actual parameter name.
* 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).
2023-05-11 Thomas E. Dickey <dickey@invisible-island.net>
* 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()
2023-04-03 Thomas E. Dickey <dickey@invisible-island.net>
* aclocal.m4: resync with my-autoconf: CF_GCC_VERSION CF_XOPEN_SOURCE
2023-02-26 Thomas E. Dickey <dickey@invisible-island.net>
* mstring.c, reader.c: yak-indent
2023-02-26 mingodad
* reader.c:
patch for byacc #6: Segmentation fault when trying to parse bison-3.8.2 grammar
2023-02-26 Thomas E. Dickey <dickey@invisible-island.net>
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2023-02-20 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* aclocal.m4: resync with my-autoconf
|
2023-03-02 22:22:20 by Frederic Cambus | Files touched by this commit (2) | |
Log message:
byacc: update to 20230219.
2023-02-19 Thomas E. Dickey <dickey@invisible-island.net>
* test/yacc/ok_syntax1.tab.h, test/yacc/ok_syntax1.tab.c,
test/btyacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.tab.c:
regen
* test/ok_syntax1.y:
modify test for %union to add tag for testing reader.c
* reader.c:
provide for a named union, e.g., "%union foo" by detecting the name and
deferring the typedef in that case until the end of copying the union
definition (report by Dag-Erling Smørgrav).
|
2023-02-10 12:07:13 by Frederic Cambus | Files touched by this commit (2) | |
Log message:
byacc: update to 20230201.
2023-02-01 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* configure.in: initialize $ac_includes_default
* VERSION, package/byacc.spec, package/debian/changelog,
package/debian/copyright, package/mingw-byacc.spec,
package/pkgsrc/Makefile:
bump
2023-01-05 Thomas E. Dickey <dickey@invisible-island.net>
* aclocal.m4: resync with my-autoconf
|
2023-01-09 17:00:02 by Frederic Cambus | Files touched by this commit (2) | |
Log message:
byacc: update to 20221229.
2022-12-29 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* configure.in:
correct help-message for --disable-btyacc option, and fix the reporting of
the selected option value in the configure script's output (report by Daniel
Weaver)
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2022-12-02 Thomas E. Dickey <dickey@invisible-island.net>
* aclocal.m4: resync with my-autconf
2022-11-06 Thomas E. Dickey <dickey@invisible-island.net>
* 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
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2022-10-02 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* aclocal.m4: resync with my-autoconf
2022-08-01 Thomas E. Dickey <dickey@invisible-island.net>
* config.guess, config.sub: 2022-08-01
|
2022-06-27 17:29:18 by Frederic Cambus | Files touched by this commit (41) |
Log message:
*: drop maintainership for packages not related to toolchains and ELF.
|
2022-01-30 11:37:40 by Frederic Cambus | Files touched by this commit (2) | |
Log message:
byacc: update to 20220128.
2022-01-28 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/copyright: update, fix typo
* package/debian/rules, package/debian/control:
adapt from current Debian package
* configure: regen
* configure.in:
change default for the backtracking option to match the most-common usage
of byacc
* VERSION, package/byacc.spec, package/debian/changelog,
package/pkgsrc/Makefile:
update packaging, renaming debian folder back to its original location to
verify that the version-mangling used in the accepted Debian package will work
with the continuous-integration system.
2022-01-18 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/watch: adapt from current Debian package
|
2022-01-16 13:58:53 by Frederic Cambus | Files touched by this commit (2) | |
Log message:
byacc: update to 20220114.
2022-01-14 Thomas E. Dickey <dickey@invisible-island.net>
* VERSION, package/byacc.spec, package/detest/changelog,
package/pkgsrc/Makefile:
bump
|
2022-01-10 18:28:32 by Frederic Cambus | Files touched by this commit (2) | |
Log message:
byacc: update to 20220109.
2022-01-09 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/changelog, package/debian/watch, package/debian/control:
update to use oldstable-compatible rules/config, for testing version upgrade
* package/byacc.spec, package/mingw-byacc.spec:
use rpmlint, etc., to "update" these to follow Redhat7 and later.
due to incompatbilities in that route, this package will not build with #6.
* reader.c, output.c:
change a few malloc's to calloc's so clang analyzer can see initialized data
* closure.c:
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)
* VERSION, package/byacc.spec, package/debian/changelog,
package/pkgsrc/Makefile:
bump
2022-01-08 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/copyright, package/debian/rules:
update to use oldstable-compatible rules/config, for testing version upgrade
2022-01-02 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/control: minor fixes adapted from btyacc package
* package/debian/byacc.docs, package/debian/byacc2.prerm,
package/debian/byacc2.postinst, package/debian/byacc.postinst,
package/debian/byacc.prerm:
RCS_BASE
* VERSION, package/byacc.spec, package/debian/changelog,
package/pkgsrc/Makefile:
bump
|
2022-01-02 16:45:06 by Frederic Cambus | Files touched by this commit (2) | |
Log message:
byacc: update to 20220101.
2022-01-01 Thomas E. Dickey <dickey@invisible-island.net>
* test/run_test.sh:
adjust to ignore NetBSD's difference in getopt warnings.
* package/pkgsrc/Makefile: resync with pkgsrc
* test/yacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.c: regen
* test/expr.oxout.y, test/expr.oxout.h: fix gcc warnings
* test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: regen
* test/run_make.sh: workaround for compiling the expr.oxout.y files
* test/expr.oxout.y: fix syntax error
* test/btyacc/expr.oxout.tab.c: regen
* test/expr.oxout.h: RCS_BASE
* test/yacc/expr.oxout.tab.c: fix syntax error
* test/btyacc/expr.oxout.tab.c: regen, s/expr.oxout/expr_oxout/g
* test/btyacc/expr.oxout.tab.h: regen
* test/run_test.sh:
filter the default prefix to change "." to "_", so that the \
generated
files will compile consistently with run_make.sh
* package/debian/control, package/debian/prerm, package/debian/postinst:
add "byacc2" as an alternative for "yacc"
* package/byacc.spec, package/debian/control, package/debian/rules:
rename "btyacc" to "byacc2" to co-exist with traditional \
"btyacc" package
|
2021-12-30 20:34:54 by Frederic Cambus | Files touched by this commit (2) | |
Log message:
byacc: update to 20211224.
2021-12-24 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/rules: fixes from Debian package for lintian warnings
* package/debian/control: updates for Debian standard
* package/debian/docs, package/debian/copyright, package/debian/control:
errata from Debian package
* config.sub: 2021-12-24
From: Dmitry V. Levin <ldv@altlinux.org>
config.sub: alias aarch64le to aarch64
Apparently, QNX reports aarch64 as aarch64le on little-endian machines.
* config.sub (aarch64le-*): Set cpu to aarch64.
(timestamp): Update.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (aarch64le-qnx): New test.
Reported-by: Elad Lahav <e2lahav@gmail.com>
Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html
2021-12-16 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* aclocal.m4: resync with my-autoconf
2021-12-13 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-10-27
From: Dmitry V. Levin <ldv@altlinux.org>
config.sub: fix typo in timestamp
* config.sub: Fix timestamp.
* doc/config.sub.1: Regenerate.
Reported-by: Jordi Sanfeliu <jordi@fibranet.cat>
Fixes: a013aac61edfa2a03727521508286480010e7bf3
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-11-30 Thomas E. Dickey <dickey@invisible-island.net>
* config.guess: 2021-11-30
From: Andreas F. Borchert <github@andreas-borchert.de>
config.guess: x86_64-pc-solaris2.11 is not properly recognized
config.guess guesses Solaris 11 to run on a 32-bit platform
despite Solaris 11 no longer supporting any 32-bit platform.
See the following code at lines 434 to 445:
| SUN_ARCH=i386
| # If there is a compiler, see if it is configured for 64-bit objects.
| # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
| # This test works for both compilers.
| if test "$CC_FOR_BUILD" != no_compiler_found; then
| if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
| (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
| grep IS_64BIT_ARCH >/dev/null
| then
| SUN_ARCH=x86_64
| fi
| fi
If "cc" is installed, i.e. the Oracle Studio compiler, this one is
chosen for $CC_FOR_BUILD. This compiler, the gcc provided by Oracle
and also gcc bootstrapped from sources on that platform with a default
configuration will by default generate 32-bit binaries -- even on
a 64-bit platform. And __amd64 will not be defined for compilations
targeting a 32-bit platform. This is different from the corresponding
behaviour on GNU/Linux systems where the local platform is targeted by
default.
Thus, as long as you do not add "-m64" or if you have a custom-built
gcc which defaults to 64 bit, you will get 32-bit binaries on Solaris
despite living on a 64-bit platform.
* config.guess (i86pc:SunOS:5.*:* || i86xen:SunOS:5.*:*): Adapt the
test by adding the "-m64" flag. This will work properly for Solaris
10 as well (the last Solaris release that supported x86 32-bit
platforms).
* doc/config.guess.1: Regenerate.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-10-27 Thomas E. Dickey <dickey@invisible-island.net>
* config.guess: 2021-10-27
From: Jordi Sanfeliu <jordi@fibranet.cat>
Recognize Fiwix
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (137 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (882 tests)
PASS: config.sub idempotency checks (819 tests)
PASS: config.sub canonicalise each config.guess testcase (137 tests)
* config.guess (i*86:Fiwix:*:*): Recognize.
* config.sub (fiwix*): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for Fiwix.
* testsuite/config-sub.data (i386-fiwix): New test.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
* config.sub: 2021-20-27
From: Jordi Sanfeliu <jordi@fibranet.cat>
Recognize Fiwix
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (137 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (882 tests)
PASS: config.sub idempotency checks (819 tests)
PASS: config.sub canonicalise each config.guess testcase (137 tests)
* config.guess (i*86:Fiwix:*:*): Recognize.
* config.sub (fiwix*): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for Fiwix.
* testsuite/config-sub.data (i386-fiwix): New test.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-10-18 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-08-14
From: Kinshuk Dua <kinshukdua@gmail.com>
config.sub: Fix typo in comment
Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-08-14 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-08-14
From: Nick Bowler <nbowler@draconx.ca>
config.sub: work around command assignment bug in some shells
When combining variable assignments with a shell command, some older
shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh)
have a bug which causes the assignment to alter the current execution
environment whenever the command is a shell built-in. For example:
% dash -c 'x=good; x=bad echo >/dev/null; echo $x'
good
% jsh -c 'x=good; x=bad echo >/dev/null; echo $x'
bad
The config.sub script contains a few commands of the form:
IFS=- read ...
which triggers this bug, causing the IFS assignment to persist for the
remainder of the script. This can cause misbehaviour in certain cases,
for example:
% jsh config.sub i386-linux-gnu
config.sub: test: unknown operator gnu
% jsh config.sub i386-gnu/linux
sed: can't read s|gnu/linux|gnu|: No such file or directory
Invalid configuration `i386-gnu/linux': OS `' not recognized
* config.sub: Save and restore IFS explicitly to avoid shell bugs.
* doc/config.sub.1: Regenerate.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
|