+2021-06-19 Thomas E. Dickey <dickey@invisible-island.net>
+
+ * configure: regen
+
+ * aclocal.m4: resync with my-autoconf
+
+ * test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, yaccpar.c:
+ regen
+
+ * btyaccpar.skel, yaccpar.skel: cancel unused assignments
+
+ * output.c: gcc warning
+
+ * test/run_test.sh, test/run_lint.sh, test/run_make.sh:
+ shellcheck-warnings
+
+2021-06-19 jannick0
+
+ * test/run_test.sh: changes suggested at
+ https://github.com/jannick0/byacc-snapshots/tree/YYINT-fix-20210520
+
+2021-06-19 Thomas E. Dickey <dickey@invisible-island.net>
+
+ * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+ bump
+
+2021-06-13 Thomas E. Dickey <dickey@invisible-island.net>
+
+ * aclocal.m4: resync with my-autoconf
+
+2021-05-24 Thomas E. Dickey <dickey@invisible-island.net>
+
+ * config.guess: 2021-05-24 (repaired)
+ From: Dmitry V. Levin <ldv@altlinux.org>
+ config.guess: fix shellcheck warning SC2154
+
+ While, according to Plan 9 documentation, the environment variable
+ $cputype is set to the name of the kernel's CPU's architecture,
+ shellcheck warns that cputype is referenced but not assigned.
+ Be on the safe side and do not use cputype if it is not defined
+ or empty.
+
+ * config.guess (*:Plan9:*:*): Fix shellcheck warning SC2154.
+
+ * config.guess: 2021-05-24 (repaired)
+ From: Dmitry V. Levin <ldv@altlinux.org>
+ config.guess: remove redundant quotes in case commands
+
+ According to the GNU Autoconf Portable Shell Programming manual,
+ the Bourne shell does not systematically split variables and back-quoted
+ expressions, in particular on the right-hand side of assignments and in
+ the argument of 'case'.
+
+ The change is made automatically using the following command:
+ $ sed -E -i 's/(\<case )"(\$[^"]+)"( in\>)/\1\2\3/' config.guess
+
+ * config.guess: Simplify case commands by removing quotes around the
+ argument.
+
+ Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
+
+ * config.guess: 2021-05-24 (repaired)
+ From: Dmitry V. Levin <ldv@altlinux.org>
+ config.guess: simplify exit status workaround on alphaev67-dec-osf5.1
+
+ Commit 29865ea8a5622cdd80b7a69a0afa78004b4cd311 introduced an exit trap
+ reset before exiting to avoid a spurious non-zero exit status on
+ alphaev67-dec-osf5.1. Simplify that code a bit by moving the exit trap
+ reset around.
+
+ * config.guess (alpha:OSF1:*:*): Reset exit trap earlier.
+ * doc/config.guess.1: Regenerate.
+
2021-05-20 Thomas E. Dickey <dickey@invisible-island.net>
* test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c, test/btyacc/code_error.code.c, test/btyacc/code_error.tab.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c:
-MANIFEST for byacc-20210520, version t20210520
+MANIFEST for byacc-20210619, version t20210619
--------------------------------------------------------------------------------
MANIFEST this file
ACKNOWLEDGEMENTS original version of byacc - 1993
-dnl $Id: aclocal.m4,v 1.53 2021/05/01 21:49:36 tom Exp $
+dnl $Id: aclocal.m4,v 1.55 2021/06/19 23:17:30 tom Exp $
dnl Macros for byacc configure script (Thomas E. Dickey)
dnl ---------------------------------------------------------------------------
dnl Copyright 2004-2020,2021 Thomas E. Dickey
fi
])
dnl ---------------------------------------------------------------------------
-dnl CF_CONST_X_STRING version: 6 updated: 2021/01/01 13:31:04
+dnl CF_CONST_X_STRING version: 7 updated: 2021/06/07 17:39:17
dnl -----------------
dnl The X11R4-X11R6 Xt specification uses an ambiguous String type for most
dnl character-strings.
#include <stdlib.h>
#include <X11/Intrinsic.h>
],
-[String foo = malloc(1); (void)foo],[
+[String foo = malloc(1); free((void*)foo)],[
AC_CACHE_CHECK(for X11/Xt const-feature,cf_cv_const_x_string,[
AC_TRY_COMPILE(
AC_SUBST(EXTRA_CFLAGS)
])dnl
dnl ---------------------------------------------------------------------------
-dnl CF_GETOPT_HEADER version: 7 updated: 2021/01/01 13:31:04
+dnl CF_GETOPT_HEADER version: 8 updated: 2021/06/19 19:16:16
dnl ----------------
dnl Check for getopt's variables which are commonly defined in stdlib.h,
dnl unistd.h or (nonstandard) in getopt.h
do
AC_TRY_COMPILE([
#include <$cf_header>],
-[int x = optind; char *y = optarg],
+[int x = optind; char *y = optarg; (void)x; (void)y],
[cf_cv_getopt_header=$cf_header
break])
done
echo "${as_me:-configure}:__oline__: testing $* ..." 1>&AC_FD_CC
])dnl
dnl ---------------------------------------------------------------------------
-dnl CF_NO_LEAKS_OPTION version: 8 updated: 2021/01/05 20:05:09
+dnl CF_NO_LEAKS_OPTION version: 9 updated: 2021/06/13 19:45:41
dnl ------------------
dnl see CF_WITH_NO_LEAKS
+dnl
+dnl $1 = option/name
+dnl $2 = help-text
+dnl $3 = symbol to define if the option is set
+dnl $4 = additional actions to take if the option is set
AC_DEFUN([CF_NO_LEAKS_OPTION],[
AC_MSG_CHECKING(if you want to use $1 for testing)
AC_ARG_WITH($1,
[$2],
- [AC_DEFINE_UNQUOTED($3,1,"Define to 1 if you want to use $1 for testing.")ifelse([$4],,[
+ [case "x$withval" in
+ (x|xno) ;;
+ (*)
+ : "${with_cflags:=-g}"
+ : "${enable_leaks:=no}"
+ with_$1=yes
+ AC_DEFINE_UNQUOTED($3,1,"Define to 1 if you want to use $1 for testing.")ifelse([$4],,[
$4
])
- : "${with_cflags:=-g}"
- : "${enable_leaks:=no}"
- with_$1=yes],
+ ;;
+ esac],
[with_$1=])
AC_MSG_RESULT(${with_$1:-no})
* @Id: skel2c,v 1.4 2016/06/07 00:26:09 tom Exp @
*/
-/* @Id: btyaccpar.skel,v 1.10 2018/05/25 01:03:46 tom Exp @ */
+/* @Id: btyaccpar.skel,v 1.11 2018/06/10 00:41:06 Tom.Shields Exp @ */
#include "defs.h"
"#endif /* YYBTYACC */",
#endif /* defined(YYBTYACC) */
" yym = 0;",
- " yyn = 0;",
+ " /* yyn is set below */",
" yynerrs = 0;",
" yyerrflag = 0;",
" yychar = YYEMPTY;",
- " yystate = 0;",
+ " /* yystate is set below */",
"",
"#if YYPURE",
" memset(&yystack, 0, sizeof(yystack));",
-/* $Id: btyaccpar.skel,v 1.11 2018/06/10 00:41:06 Tom.Shields Exp $ */
+/* $Id: btyaccpar.skel,v 1.12 2021/06/19 20:46:31 tom Exp $ */
#include "defs.h"
yyps->save = 0;
%%endif
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
# Copyright 2021 Thomas E. Dickey
# Copyright 1992-2021 Free Software Foundation, Inc.
-timestamp='2021-04-21'
+timestamp='2021-05-24'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
-case "$UNAME_SYSTEM" in
+case $UNAME_SYSTEM in
Linux|GNU|GNU/*)
LIBC=unknown
# Note: order is significant - the case branches are not exclusive.
-case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
+case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
*:NetBSD:*:*)
# NetBSD (nbsd) targets should (where applicable) match one or
# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
/usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
echo unknown)`
- case "$UNAME_MACHINE_ARCH" in
+ case $UNAME_MACHINE_ARCH in
aarch64eb) machine=aarch64_be-unknown ;;
armeb) machine=armeb-unknown ;;
arm*) machine=arm-unknown ;;
esac
# The Operating System including object format, if it has switched
# to ELF recently (or will in the future) and ABI.
- case "$UNAME_MACHINE_ARCH" in
+ case $UNAME_MACHINE_ARCH in
earm*)
os=netbsdelf
;;
;;
esac
# Determine ABI tags.
- case "$UNAME_MACHINE_ARCH" in
+ case $UNAME_MACHINE_ARCH in
earm*)
expr='s/^earmv[0-9]/-eabi/;s/eb$//'
abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
# thus, need a distinct triplet. However, they do not need
# kernel version information, so it can be replaced with a
# suitable tag, in the style of linux-gnu.
- case "$UNAME_VERSION" in
+ case $UNAME_VERSION in
Debian*)
release='-gnu'
;;
echo mips-dec-osf1
exit ;;
alpha:OSF1:*:*)
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+ trap '' 0
case $UNAME_RELEASE in
*4.0)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
# covers most systems running today. This code pipes the CPU
# types through head -n 1, so we only detect the type of CPU 0.
ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
- case "$ALPHA_CPU_TYPE" in
+ case $ALPHA_CPU_TYPE in
"EV4 (21064)")
UNAME_MACHINE=alpha ;;
"EV4.5 (21064)")
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
- # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
- exitcode=$?
- trap '' 0
- exit $exitcode ;;
+ exit ;;
Amiga*:UNIX_System_V:4.0:*)
echo m68k-unknown-sysv4
exit ;;
echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
exit ;;
sun4*:SunOS:*:*)
- case "`/usr/bin/arch -k`" in
+ case `/usr/bin/arch -k` in
Series*|S4*)
UNAME_RELEASE=`uname -v`
;;
sun*:*:4.2BSD:*)
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
- case "`/bin/arch`" in
+ case `/bin/arch` in
sun3)
echo m68k-sun-sunos"$UNAME_RELEASE"
;;
exit ;;
9000/[34678]??:HP-UX:*:*)
HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
- case "$UNAME_MACHINE" in
+ case $UNAME_MACHINE in
9000/31?) HP_ARCH=m68000 ;;
9000/[34]??) HP_ARCH=m68k ;;
9000/[678][0-9][0-9])
if test -x /usr/bin/getconf; then
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
- case "$sc_cpu_version" in
+ case $sc_cpu_version in
523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
532) # CPU_PA_RISC2_0
- case "$sc_kernel_bits" in
+ case $sc_kernel_bits in
32) HP_ARCH=hppa2.0n ;;
64) HP_ARCH=hppa2.0w ;;
'') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
exit ;;
*:FreeBSD:*:*)
UNAME_PROCESSOR=`/usr/bin/uname -p`
- case "$UNAME_PROCESSOR" in
+ case $UNAME_PROCESSOR in
amd64)
UNAME_PROCESSOR=x86_64 ;;
i386)
echo "$UNAME_MACHINE"-pc-pw32
exit ;;
*:Interix*:*)
- case "$UNAME_MACHINE" in
+ case $UNAME_MACHINE in
x86)
echo i586-pc-interix"$UNAME_RELEASE"
exit ;;
# "uname -m" is not consistent, so use $cputype instead. 386
# is converted to i386 for consistency with other x86
# operating systems.
- # shellcheck disable=SC2154
- if test "$cputype" = 386; then
+ if test "${cputype-}" = 386; then
UNAME_MACHINE=i386
- else
+ elif test "x${cputype-}" != x; then
UNAME_MACHINE="$cputype"
fi
echo "$UNAME_MACHINE"-unknown-plan9
exit ;;
*:*VMS:*:*)
UNAME_MACHINE=`(uname -p) 2>/dev/null`
- case "$UNAME_MACHINE" in
+ case $UNAME_MACHINE in
A*) echo alpha-dec-vms ; exit ;;
I*) echo ia64-dec-vms ; exit ;;
V*) echo vax-dec-vms ; exit ;;
echo "$0: unable to guess system type" >&2
-case "$UNAME_MACHINE:$UNAME_SYSTEM" in
+case $UNAME_MACHINE:$UNAME_SYSTEM in
mips:Linux | mips64:Linux)
# If we got here on MIPS GNU/Linux, output extra information.
cat >&2 <<EOF
int
main (void)
{
-int x = optind; char *y = optarg
+int x = optind; char *y = optarg; (void)x; (void)y
;
return 0;
}
# Check whether --with-dmalloc or --without-dmalloc was given.
if test "${with_dmalloc+set}" = set; then
withval="$with_dmalloc"
+ case "x$withval" in
+ (x|xno) ;;
+ (*)
+ : "${with_cflags:=-g}"
+ : "${enable_leaks:=no}"
+ with_dmalloc=yes
cat >>confdefs.h <<EOF
#define USE_DMALLOC 1
EOF
- : "${with_cflags:=-g}"
- : "${enable_leaks:=no}"
- with_dmalloc=yes
+ ;;
+ esac
else
with_dmalloc=
fi;
-echo "$as_me:5924: result: ${with_dmalloc:-no}" >&5
+echo "$as_me:5929: result: ${with_dmalloc:-no}" >&5
echo "${ECHO_T}${with_dmalloc:-no}" >&6
case ".$with_cflags" in
esac
if test "$with_dmalloc" = yes ; then
- echo "$as_me:6038: checking for dmalloc.h" >&5
+ echo "$as_me:6043: checking for dmalloc.h" >&5
echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
if test "${ac_cv_header_dmalloc_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 6044 "configure"
+#line 6049 "configure"
#include "confdefs.h"
#include <dmalloc.h>
_ACEOF
-if { (eval echo "$as_me:6048: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:6053: \"$ac_cpp "conftest.$ac_ext"\"") >&5
(eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
ac_status=$?
$EGREP -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:6054: \$? = $ac_status" >&5
+ echo "$as_me:6059: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:6073: result: $ac_cv_header_dmalloc_h" >&5
+echo "$as_me:6078: result: $ac_cv_header_dmalloc_h" >&5
echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
if test "$ac_cv_header_dmalloc_h" = yes; then
-echo "$as_me:6077: checking for dmalloc_debug in -ldmalloc" >&5
+echo "$as_me:6082: checking for dmalloc_debug in -ldmalloc" >&5
echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldmalloc $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 6085 "configure"
+#line 6090 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:6104: \"$ac_link\"") >&5
+if { (eval echo "$as_me:6109: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:6107: \$? = $ac_status" >&5
+ echo "$as_me:6112: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:6110: \"$ac_try\"") >&5
+ { (eval echo "$as_me:6115: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:6113: \$? = $ac_status" >&5
+ echo "$as_me:6118: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_dmalloc_dmalloc_debug=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:6124: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
+echo "$as_me:6129: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6
if test "$ac_cv_lib_dmalloc_dmalloc_debug" = yes; then
cat >>confdefs.h <<EOF
fi
-echo "$as_me:6139: checking if you want to use dbmalloc for testing" >&5
+echo "$as_me:6144: checking if you want to use dbmalloc for testing" >&5
echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6
# Check whether --with-dbmalloc or --without-dbmalloc was given.
if test "${with_dbmalloc+set}" = set; then
withval="$with_dbmalloc"
+ case "x$withval" in
+ (x|xno) ;;
+ (*)
+ : "${with_cflags:=-g}"
+ : "${enable_leaks:=no}"
+ with_dbmalloc=yes
cat >>confdefs.h <<EOF
#define USE_DBMALLOC 1
EOF
- : "${with_cflags:=-g}"
- : "${enable_leaks:=no}"
- with_dbmalloc=yes
+ ;;
+ esac
else
with_dbmalloc=
fi;
-echo "$as_me:6156: result: ${with_dbmalloc:-no}" >&5
+echo "$as_me:6166: result: ${with_dbmalloc:-no}" >&5
echo "${ECHO_T}${with_dbmalloc:-no}" >&6
case ".$with_cflags" in
esac
if test "$with_dbmalloc" = yes ; then
- echo "$as_me:6270: checking for dbmalloc.h" >&5
+ echo "$as_me:6280: checking for dbmalloc.h" >&5
echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6
if test "${ac_cv_header_dbmalloc_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 6276 "configure"
+#line 6286 "configure"
#include "confdefs.h"
#include <dbmalloc.h>
_ACEOF
-if { (eval echo "$as_me:6280: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:6290: \"$ac_cpp "conftest.$ac_ext"\"") >&5
(eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
ac_status=$?
$EGREP -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:6286: \$? = $ac_status" >&5
+ echo "$as_me:6296: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:6305: result: $ac_cv_header_dbmalloc_h" >&5
+echo "$as_me:6315: result: $ac_cv_header_dbmalloc_h" >&5
echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6
if test "$ac_cv_header_dbmalloc_h" = yes; then
-echo "$as_me:6309: checking for debug_malloc in -ldbmalloc" >&5
+echo "$as_me:6319: checking for debug_malloc in -ldbmalloc" >&5
echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldbmalloc $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 6317 "configure"
+#line 6327 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:6336: \"$ac_link\"") >&5
+if { (eval echo "$as_me:6346: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:6339: \$? = $ac_status" >&5
+ echo "$as_me:6349: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:6342: \"$ac_try\"") >&5
+ { (eval echo "$as_me:6352: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:6345: \$? = $ac_status" >&5
+ echo "$as_me:6355: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_dbmalloc_debug_malloc=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:6356: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
+echo "$as_me:6366: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6
if test "$ac_cv_lib_dbmalloc_debug_malloc" = yes; then
cat >>confdefs.h <<EOF
fi
-echo "$as_me:6371: checking if you want to use valgrind for testing" >&5
+echo "$as_me:6381: checking if you want to use valgrind for testing" >&5
echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6
# Check whether --with-valgrind or --without-valgrind was given.
if test "${with_valgrind+set}" = set; then
withval="$with_valgrind"
+ case "x$withval" in
+ (x|xno) ;;
+ (*)
+ : "${with_cflags:=-g}"
+ : "${enable_leaks:=no}"
+ with_valgrind=yes
cat >>confdefs.h <<EOF
#define USE_VALGRIND 1
EOF
- : "${with_cflags:=-g}"
- : "${enable_leaks:=no}"
- with_valgrind=yes
+ ;;
+ esac
else
with_valgrind=
fi;
-echo "$as_me:6388: result: ${with_valgrind:-no}" >&5
+echo "$as_me:6403: result: ${with_valgrind:-no}" >&5
echo "${ECHO_T}${with_valgrind:-no}" >&6
case ".$with_cflags" in
;;
esac
-echo "$as_me:6501: checking if you want to perform memory-leak testing" >&5
+echo "$as_me:6516: checking if you want to perform memory-leak testing" >&5
echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6
# Check whether --enable-leaks or --disable-leaks was given.
enable_leaks=yes
fi;
if test "x$enable_leaks" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi
-echo "$as_me:6512: result: $with_no_leaks" >&5
+echo "$as_me:6527: result: $with_no_leaks" >&5
echo "${ECHO_T}$with_no_leaks" >&6
if test "$enable_leaks" = no ; then
# Extract the first word of "groff", so it can be a program name with args.
set dummy groff; ac_word=$2
-echo "$as_me:6529: checking for $ac_word" >&5
+echo "$as_me:6544: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GROFF_PATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_GROFF_PATH="$ac_dir/$ac_word"
- echo "$as_me:6546: found $ac_dir/$ac_word" >&5
+ echo "$as_me:6561: found $ac_dir/$ac_word" >&5
break
fi
done
GROFF_PATH=$ac_cv_path_GROFF_PATH
if test -n "$GROFF_PATH"; then
- echo "$as_me:6558: result: $GROFF_PATH" >&5
+ echo "$as_me:6573: result: $GROFF_PATH" >&5
echo "${ECHO_T}$GROFF_PATH" >&6
else
- echo "$as_me:6561: result: no" >&5
+ echo "$as_me:6576: result: no" >&5
echo "${ECHO_T}no" >&6
fi
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-echo "$as_me:6569: checking for $ac_word" >&5
+echo "$as_me:6584: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_NROFF_PATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_NROFF_PATH="$ac_dir/$ac_word"
- echo "$as_me:6586: found $ac_dir/$ac_word" >&5
+ echo "$as_me:6601: found $ac_dir/$ac_word" >&5
break
fi
done
NROFF_PATH=$ac_cv_path_NROFF_PATH
if test -n "$NROFF_PATH"; then
- echo "$as_me:6597: result: $NROFF_PATH" >&5
+ echo "$as_me:6612: result: $NROFF_PATH" >&5
echo "${ECHO_T}$NROFF_PATH" >&6
else
- echo "$as_me:6600: result: no" >&5
+ echo "$as_me:6615: result: no" >&5
echo "${ECHO_T}no" >&6
fi
# Extract the first word of "tbl", so it can be a program name with args.
set dummy tbl; ac_word=$2
-echo "$as_me:6610: checking for $ac_word" >&5
+echo "$as_me:6625: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_TBL_PATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_TBL_PATH="$ac_dir/$ac_word"
- echo "$as_me:6627: found $ac_dir/$ac_word" >&5
+ echo "$as_me:6642: found $ac_dir/$ac_word" >&5
break
fi
done
TBL_PATH=$ac_cv_path_TBL_PATH
if test -n "$TBL_PATH"; then
- echo "$as_me:6639: result: $TBL_PATH" >&5
+ echo "$as_me:6654: result: $TBL_PATH" >&5
echo "${ECHO_T}$TBL_PATH" >&6
else
- echo "$as_me:6642: result: no" >&5
+ echo "$as_me:6657: result: no" >&5
echo "${ECHO_T}no" >&6
fi
(x|xyes)
# Extract the first word of "man2html", so it can be a program name with args.
set dummy man2html; ac_word=$2
-echo "$as_me:6662: checking for $ac_word" >&5
+echo "$as_me:6677: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_cf_man2html+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_cf_man2html="$ac_dir/$ac_word"
- echo "$as_me:6679: found $ac_dir/$ac_word" >&5
+ echo "$as_me:6694: found $ac_dir/$ac_word" >&5
break
fi
done
cf_man2html=$ac_cv_path_cf_man2html
if test -n "$cf_man2html"; then
- echo "$as_me:6691: result: $cf_man2html" >&5
+ echo "$as_me:6706: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6
else
- echo "$as_me:6694: result: no" >&5
+ echo "$as_me:6709: result: no" >&5
echo "${ECHO_T}no" >&6
fi
case "x$cf_man2html" in
(x/*)
- echo "$as_me:6700: checking for the modified Earl Hood script" >&5
+ echo "$as_me:6715: checking for the modified Earl Hood script" >&5
echo $ECHO_N "checking for the modified Earl Hood script... $ECHO_C" >&6
if ( $cf_man2html -help 2>&1 | grep 'Make an index of headers at the end' >/dev/null )
then
cf_man2html=no
cf_man2html_ok=no
fi
- echo "$as_me:6709: result: $cf_man2html_ok" >&5
+ echo "$as_me:6724: result: $cf_man2html_ok" >&5
echo "${ECHO_T}$cf_man2html_ok" >&6
;;
(*)
esac
esac
-echo "$as_me:6718: checking for program to convert manpage to html" >&5
+echo "$as_me:6733: checking for program to convert manpage to html" >&5
echo $ECHO_N "checking for program to convert manpage to html... $ECHO_C" >&6
# Check whether --with-man2html or --without-man2html was given.
case $cf_man2html in
(yes)
- echo "$as_me:6733: result: man2html" >&5
+ echo "$as_me:6748: result: man2html" >&5
echo "${ECHO_T}man2html" >&6
# Extract the first word of "man2html", so it can be a program name with args.
set dummy man2html; ac_word=$2
-echo "$as_me:6737: checking for $ac_word" >&5
+echo "$as_me:6752: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_cf_man2html+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_cf_man2html="$ac_dir/$ac_word"
- echo "$as_me:6754: found $ac_dir/$ac_word" >&5
+ echo "$as_me:6769: found $ac_dir/$ac_word" >&5
break
fi
done
cf_man2html=$ac_cv_path_cf_man2html
if test -n "$cf_man2html"; then
- echo "$as_me:6766: result: $cf_man2html" >&5
+ echo "$as_me:6781: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6
else
- echo "$as_me:6769: result: no" >&5
+ echo "$as_me:6784: result: no" >&5
echo "${ECHO_T}no" >&6
fi
(no|groff|*/groff*)
cf_with_groff=yes
cf_man2html=$GROFF_PATH
- echo "$as_me:6777: result: $cf_man2html" >&5
+ echo "$as_me:6792: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6
;;
(*)
- echo "$as_me:6781: result: $cf_man2html" >&5
+ echo "$as_me:6796: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6
;;
esac
# disable hyphenation if this is groff
if test "x$GROFF_PATH" != xno
then
- echo "$as_me:6822: checking if nroff is really groff" >&5
+ echo "$as_me:6837: checking if nroff is really groff" >&5
echo $ECHO_N "checking if nroff is really groff... $ECHO_C" >&6
cf_check_groff="`$NROFF_PATH --version 2>/dev/null | grep groff`"
test -n "$cf_check_groff" && cf_check_groff=yes
test -n "$cf_check_groff" || cf_check_groff=no
- echo "$as_me:6827: result: $cf_check_groff" >&5
+ echo "$as_me:6842: result: $cf_check_groff" >&5
echo "${ECHO_T}$cf_check_groff" >&6
test "x$cf_check_groff" = xyes && NROFF_OPTS="-rHY=0"
fi
cf_man2html=`echo "$cf_man2html" | sed -e s%NONE%$cf_path_syntax%`
;;
(*)
- { { echo "$as_me:6858: error: expected a pathname, not \"$cf_man2html\"" >&5
+ { { echo "$as_me:6873: error: expected a pathname, not \"$cf_man2html\"" >&5
echo "$as_me: error: expected a pathname, not \"$cf_man2html\"" >&2;}
{ (exit 1); exit 1; }; }
;;
esac
MAN2HTML_PATH="$cf_man2html"
- echo "$as_me:6865: checking for $cf_man2html top/bottom margins" >&5
+ echo "$as_me:6880: checking for $cf_man2html top/bottom margins" >&5
echo $ECHO_N "checking for $cf_man2html top/bottom margins... $ECHO_C" >&6
# for this example, expect 3 lines of content, the remainder is head/foot
cf_man2html_bot=`expr "$cf_man2html_bot" - 2 - "$cf_man2html_top"`
cf_man2html_top_bot="-topm=$cf_man2html_top -botm=$cf_man2html_bot"
- echo "$as_me:6883: result: $cf_man2html_top_bot" >&5
+ echo "$as_me:6898: result: $cf_man2html_top_bot" >&5
echo "${ECHO_T}$cf_man2html_top_bot" >&6
- echo "$as_me:6886: checking for pagesize to use" >&5
+ echo "$as_me:6901: checking for pagesize to use" >&5
echo $ECHO_N "checking for pagesize to use... $ECHO_C" >&6
for cf_block in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
do
test "$cf_man2html_page" -gt 100 && cf_man2html_page=99999
rm -rf conftest*
- echo "$as_me:6911: result: $cf_man2html_page" >&5
+ echo "$as_me:6926: result: $cf_man2html_page" >&5
echo "${ECHO_T}$cf_man2html_page" >&6
cat >>$MAN2HTML_TEMP <<CF_EOF
chmod 700 $MAN2HTML_TEMP
-echo "$as_me:6930: checking for ANSI C header files" >&5
+echo "$as_me:6945: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 6936 "configure"
+#line 6951 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <float.h>
_ACEOF
-if { (eval echo "$as_me:6944: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:6959: \"$ac_cpp "conftest.$ac_ext"\"") >&5
(eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
ac_status=$?
$EGREP -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:6950: \$? = $ac_status" >&5
+ echo "$as_me:6965: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >"conftest.$ac_ext" <<_ACEOF
-#line 6972 "configure"
+#line 6987 "configure"
#include "confdefs.h"
#include <string.h>
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >"conftest.$ac_ext" <<_ACEOF
-#line 6990 "configure"
+#line 7005 "configure"
#include "confdefs.h"
#include <stdlib.h>
:
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 7011 "configure"
+#line 7026 "configure"
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
}
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:7037: \"$ac_link\"") >&5
+if { (eval echo "$as_me:7052: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:7040: \$? = $ac_status" >&5
+ echo "$as_me:7055: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:7042: \"$ac_try\"") >&5
+ { (eval echo "$as_me:7057: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:7045: \$? = $ac_status" >&5
+ echo "$as_me:7060: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
:
else
fi
fi
fi
-echo "$as_me:7058: result: $ac_cv_header_stdc" >&5
+echo "$as_me:7073: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
if test $ac_cv_header_stdc = yes; then
inttypes.h stdint.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:7074: checking for $ac_header" >&5
+echo "$as_me:7089: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 7080 "configure"
+#line 7095 "configure"
#include "confdefs.h"
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:7086: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:7101: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:7089: \$? = $ac_status" >&5
+ echo "$as_me:7104: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:7092: \"$ac_try\"") >&5
+ { (eval echo "$as_me:7107: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:7095: \$? = $ac_status" >&5
+ echo "$as_me:7110: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
eval "$as_ac_Header=yes"
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:7105: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
+echo "$as_me:7120: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6
if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then
cat >>confdefs.h <<EOF
fi
done
-echo "$as_me:7115: checking for mode_t" >&5
+echo "$as_me:7130: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
if test "${ac_cv_type_mode_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 7121 "configure"
+#line 7136 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:7136: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:7151: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:7139: \$? = $ac_status" >&5
+ echo "$as_me:7154: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:7142: \"$ac_try\"") >&5
+ { (eval echo "$as_me:7157: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:7145: \$? = $ac_status" >&5
+ echo "$as_me:7160: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_type_mode_t=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:7155: result: $ac_cv_type_mode_t" >&5
+echo "$as_me:7170: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
if test "$ac_cv_type_mode_t" = yes; then
:
: "${CONFIG_STATUS=./config.status}"
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:7248: creating $CONFIG_STATUS" >&5
+{ echo "$as_me:7263: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >"$CONFIG_STATUS" <<_ACEOF
#! $SHELL
echo "$ac_cs_version"; exit 0 ;;
--he | --h)
# Conflict between --help and --header
- { { echo "$as_me:7424: error: ambiguous option: $1
+ { { echo "$as_me:7439: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
ac_need_defaults=false;;
# This is an error.
- -*) { { echo "$as_me:7443: error: unrecognized option: $1
+ -*) { { echo "$as_me:7458: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
# Handling of arguments.
"makefile" ) CONFIG_FILES="$CONFIG_FILES makefile" ;;
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config_h.in" ;;
- *) { { echo "$as_me:7480: error: invalid argument: $ac_config_target" >&5
+ *) { { echo "$as_me:7495: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
esac
esac
if test x"$ac_file" != x-; then
- { echo "$as_me:7750: creating $ac_file" >&5
+ { echo "$as_me:7765: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:7768: error: cannot find input file: $f" >&5
+ test -f "$f" || { { echo "$as_me:7783: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
echo "$srcdir/$f"
else
# /dev/null tree
- { { echo "$as_me:7781: error: cannot find input file: $f" >&5
+ { { echo "$as_me:7796: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
if test -n "$ac_seen"; then
ac_used=`grep '@datarootdir@' "$ac_item"`
if test -z "$ac_used"; then
- { echo "$as_me:7797: WARNING: datarootdir was used implicitly but not set:
+ { echo "$as_me:7812: WARNING: datarootdir was used implicitly but not set:
$ac_seen" >&5
echo "$as_me: WARNING: datarootdir was used implicitly but not set:
$ac_seen" >&2;}
fi
ac_seen=`grep '${datarootdir}' "$ac_item"`
if test -n "$ac_seen"; then
- { echo "$as_me:7806: WARNING: datarootdir was used explicitly but not set:
+ { echo "$as_me:7821: WARNING: datarootdir was used explicitly but not set:
$ac_seen" >&5
echo "$as_me: WARNING: datarootdir was used explicitly but not set:
$ac_seen" >&2;}
ac_init=`${EGREP-egrep} '[ ]*'$ac_name'[ ]*=' "$ac_file"`
if test -z "$ac_init"; then
ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'`
- { echo "$as_me:7843: WARNING: Variable $ac_name is used but was not set:
+ { echo "$as_me:7858: WARNING: Variable $ac_name is used but was not set:
$ac_seen" >&5
echo "$as_me: WARNING: Variable $ac_name is used but was not set:
$ac_seen" >&2;}
${EGREP-egrep} -n '@[A-Z_][A-Z_0-9]+@' "$ac_file" >>$tmp/out
if test -s $tmp/out; then
ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out`
- { echo "$as_me:7854: WARNING: Some variables may not be substituted:
+ { echo "$as_me:7869: WARNING: Some variables may not be substituted:
$ac_seen" >&5
echo "$as_me: WARNING: Some variables may not be substituted:
$ac_seen" >&2;}
* ) ac_file_in=$ac_file.in ;;
esac
- test x"$ac_file" != x- && { echo "$as_me:7903: creating $ac_file" >&5
+ test x"$ac_file" != x- && { echo "$as_me:7918: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
# First look for the input files in the build tree, otherwise in the
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:7914: error: cannot find input file: $f" >&5
+ test -f "$f" || { { echo "$as_me:7929: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
echo "$srcdir/$f"
else
# /dev/null tree
- { { echo "$as_me:7927: error: cannot find input file: $f" >&5
+ { { echo "$as_me:7942: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
rm -f $tmp/in
if test x"$ac_file" != x-; then
if cmp -s "$ac_file" "$tmp/config.h" 2>/dev/null; then
- { echo "$as_me:8045: $ac_file is unchanged" >&5
+ { echo "$as_me:8060: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
else
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-/* $Id: output.c,v 1.95 2021/05/20 23:57:23 tom Exp $ */
+/* $Id: output.c,v 1.96 2021/06/19 19:51:49 tom Exp $ */
#include "defs.h"
ok = 1;
for (k = 0; ok && k < t; k++)
{
- loc = j + from[k];
+ loc = (Value_t)(j + from[k]);
if (loc >= maxtable - 1)
{
if (loc >= MAXTABLE - 1)
{
for (k = 0; k < t; k++)
{
- loc = j + from[k];
+ loc = (Value_t)(j + from[k]);
table[loc] = to[k];
check[loc] = from[k];
if (loc > high)
Summary: byacc - public domain Berkeley LALR Yacc parser generator
%define AppProgram byacc
%define AltProgram btyacc
-%define AppVersion 20210520
+%define AppVersion 20210619
%define UseProgram yacc
-# $Id: byacc.spec,v 1.55 2021/05/20 23:47:46 tom Exp $
+# $Id: byacc.spec,v 1.56 2021/06/19 18:06:48 tom Exp $
Name: %{AppProgram}
Version: %{AppVersion}
Release: 1
+byacc (20210619) unstable; urgency=low
+
+ * maintenance updates
+
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 19 Jun 2021 14:06:48 -0400
+
byacc (20210520) unstable; urgency=low
* maintenance updates
Summary: byacc - public domain Berkeley LALR Yacc parser generator
%define AppProgram byacc
-%define AppVersion 20210520
+%define AppVersion 20210619
%define UseProgram yacc
-# $Id: mingw-byacc.spec,v 1.33 2021/05/20 19:25:00 tom Exp $
+# $Id: mingw-byacc.spec,v 1.34 2021/06/19 18:06:48 tom Exp $
Name: %{AppProgram}
Version: %{AppVersion}
Release: 1
# $NetBSD: Makefile,v 1.9 2008/07/24 17:13:00 tonnerre Exp $
#
-DISTNAME= byacc-20210520
+DISTNAME= byacc-20210619
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.invisible-island.net/byacc/
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
yyps->save = 0;
#endif /* YYBTYACC */
yym = 0;
- yyn = 0;
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
#!/bin/sh
-# $Id: run_lint.sh,v 1.3 2014/03/28 23:40:27 tom Exp $
+# $Id: run_lint.sh,v 1.4 2021/06/19 19:30:10 tom Exp $
# vi:ts=4 sw=4:
# run lint on each of the ".c" files in the test directory
TEST_DIR=.
fi
-ifBTYACC=`fgrep -l 'define YYBTYACC' config.h > /dev/null; test $? != 0; echo $?`
+ifBTYACC=`grep -F -l 'define YYBTYACC' config.h > /dev/null; test $? != 0; echo $?`
-if test $ifBTYACC = 0; then
+if test "$ifBTYACC" = 0; then
REF_DIR=${TEST_DIR}/yacc
else
REF_DIR=${TEST_DIR}/btyacc
fi
-echo '** '`date`
+echo "** `date`"
for i in ${REF_DIR}/*.c
do
- make -f $PROG_DIR/makefile lint C_FILES=$i srcdir=$PROG_DIR
+ make -f $PROG_DIR/makefile lint C_FILES="$i" srcdir="$PROG_DIR"
done
#!/bin/sh
-# $Id: run_make.sh,v 1.18 2019/11/25 23:23:26 tom Exp $
+# $Id: run_make.sh,v 1.19 2021/06/19 19:27:47 tom Exp $
# vi:ts=4 sw=4:
# do a test-compile on each of the ".c" files in the test-directory
fi
THIS_DIR=`pwd`
-ifBTYACC=`fgrep -l 'define YYBTYACC' config.h > /dev/null; test $? != 0; echo $?`
+ifBTYACC=`grep -F -l 'define YYBTYACC' config.h > /dev/null; test $? != 0; echo $?`
-if test $ifBTYACC = 0; then
+if test "$ifBTYACC" = 0; then
REF_DIR=${TEST_DIR}/yacc
else
REF_DIR=${TEST_DIR}/btyacc
C_FILE=`basename "$1"`
O_FILE=`basename "$C_FILE" .c`.o
shift
- cd $REF_DIR
- make -f $PROG_DIR/makefile srcdir=$PROG_DIR $O_FILE $*
- test -f $O_FILE && rm $O_FILE
- cd $THIS_DIR
+ cd "$REF_DIR"
+ make -f "$PROG_DIR/makefile" srcdir="$PROG_DIR" "$O_FILE" "$@"
+ test -f "$O_FILE" && rm "$O_FILE"
+ cd "$THIS_DIR"
}
-echo '** '`date`
+echo "** `date`"
echo "** program is in $PROG_DIR"
echo "** test-files in $REF_DIR"
case $input in
${TEST_DIR}/pure_*)
- if test -z `fgrep -i -l '%pure-parser' $input`
+ if test -z "`grep -F -i -l '%pure-parser' "$input"`"
then
echo "%pure-parser" >>run_make.y
fi
;;
esac
- sed -e '/^%expect/s,%expect.*,,' $input >>run_make.y
+ sed -e '/^%expect/s,%expect.*,,' "$input" >>run_make.y
case $BISON in
[3-9].[0-9]*.[0-9]*)
esac
if test -f "y.tab.c"
then
- sed -e '/^#line/s,"run_make.y","'$input'",' y.tab.c >run_make.c
+ sed -e '/^#line/s,"run_make.y","'"$input"'",' y.tab.c >run_make.c
rm -f y.tab.c
continue;
;;
*)
- if fgrep -i '%pure-parser' $input >/dev/null ||
- fgrep -i '%parse-param' $input >/dev/null ||
- fgrep -i '%lex-param' $input >/dev/null ||
- fgrep -i '%token-table' $input >/dev/null ||
- fgrep 'YYLEX_PARAM' $input >/dev/null
+ if grep -F -i '%pure-parser' "$input" >/dev/null ||
+ grep -F -i '%parse-param' "$input" >/dev/null ||
+ grep -F -i '%lex-param' "$input" >/dev/null ||
+ grep -F -i '%token-table' "$input" >/dev/null ||
+ grep -F 'YYLEX_PARAM' "$input" >/dev/null
then
echo "... skipping $input"
continue;
;;
esac
- sed -e '/^%expect/s,%expect.*,,' $input >>run_make.y
+ sed -e '/^%expect/s,%expect.*,,' "$input" >>run_make.y
$YACC run_make.y
if test -f y.tab.c
then
- sed -e '/^#line/s,"run_make.y","'$input'",' y.tab.c >run_make.c
+ sed -e '/^#line/s,"run_make.y","'"$input"'",' y.tab.c >run_make.c
rm -f y.tab.c
#!/bin/sh
-# $Id: run_test.sh,v 1.31 2019/11/03 23:44:07 tom Exp $
+# $Id: run_test.sh,v 1.33 2021/06/19 19:33:05 tom Exp $
# vi:ts=4 sw=4:
errors=0
# REF is the reference file against which to compare
test_diffs() {
# echo "...test_diffs $NEW vs $REF"
- mv -f $NEW ${REF_DIR}/
+ mv -f "$NEW" "${REF_DIR}/"
CMP=${REF_DIR}/${NEW}
- if test ! -f $CMP
+ if test ! -f "$CMP"
then
echo "...not found $CMP"
errors=1
else
- sed -e s,$NEW,$REF, \
+ sed -e "s,$NEW,$REF," \
-e "s%$YACC_escaped%YACC%" \
-e "s%^yacc\>%YACC%" \
-e "s%YACC:.*option.*$%YACC: error message%" \
-e "s%^Usage: yacc\>%Usage: YACC%" \
-e '/YYPATCH/s/[0-9][0-9]*/"yyyymmdd"/' \
-e '/#define YYPATCH/s/PATCH/CHECK/' \
- -e 's,#line \([1-9][0-9]*\) "'$REF_DIR'/,#line \1 ",' \
- -e 's,#line \([1-9][0-9]*\) "'$TEST_DIR'/,#line \1 ",' \
- -e 's,\(YACC:.* line [0-9][0-9]* of "\)'$TEST_DIR/',\1./,' \
- < $CMP >$tmpfile \
- && mv $tmpfile $CMP
- if test ! -f $REF
+ -e 's,#line \([1-9][0-9]*\) "'"$REF_DIR"'/,#line \1 ",' \
+ -e 's,#line \([1-9][0-9]*\) "'"$TEST_DIR"'/,#line \1 ",' \
+ -e 's/^typedef \(short\|long\) YYINT;$/typedef int YYINT;/' \
+ -e 's,\(YACC:.* line [0-9][0-9]* of "\)'"$TEST_DIR/"',\1./,' \
+ < "$CMP" >"$tmpfile" \
+ && mv "$tmpfile" "$CMP"
+ if test ! -f "$REF"
then
- mv $CMP $REF
+ mv "$CMP" "$REF"
echo "...saved $REF"
- elif ( cmp -s $REF $CMP )
+ elif ( cmp -s "$REF" "$CMP" )
then
echo "...ok $REF"
- rm -f $CMP
+ rm -f "$CMP"
else
echo "...diff $REF"
- diff -u $REF $CMP
+ diff -u "$REF" "$CMP"
errors=1
fi
fi
root=$1
ROOT=test-$root
shift 1
- $YACC "$@" >$ROOT.output 2>$ROOT.error
+ $YACC "$@" >"$ROOT.output" 2>"$ROOT.error"
for type in .output .error
do
NEW=$ROOT$type
code=`echo "$1"|sed -e 's/y$/c/' -e "s,${TEST_DIR}/,,"`
if test "x$opts" = "x-"
then
- $YACC -o $ROOT.$code $opts <$1 >$ROOT.output 2>$ROOT.error
+ $YACC -o "$ROOT.$code" $opts <$1 >"$ROOT.output" 2>"$ROOT.error"
else
- $YACC -o $ROOT.$code $opts $1 >$ROOT.output 2>$ROOT.error
+ $YACC -o "$ROOT.$code" $opts $1 >"$ROOT.output" 2>"$ROOT.error"
fi
for type in .output .error .$code
do
done
head=`echo "$1"|sed -e 's/y$/h/' -e "s,${TEST_DIR}/,,"`
code=`echo "$1"|sed -e 's/y$/c/' -e "s,${TEST_DIR}/,,"`
- $YACC $opts -H $ROOT.$head $1 >$ROOT.output 2>$ROOT.error
+ $YACC $opts -H "$ROOT.$head" $1 >"$ROOT.output" 2>"$ROOT.error"
for name in prefix.tab.c y.tab.c
do
if test -f $name
then
- mv $name $ROOT.$code
+ mv "$name" "$ROOT.$code"
break
fi
done
tmpfile=temp$$
-ifBTYACC=`fgrep -l 'define YYBTYACC' $PROG_DIR/config.h > /dev/null; test $? != 0; echo $?`
+ifBTYACC=`grep -F -l 'define YYBTYACC' $PROG_DIR/config.h > /dev/null; test $? != 0; echo $?`
-if test $ifBTYACC = 0; then
+if test "$ifBTYACC" = 0; then
REF_DIR=${TEST_DIR}/yacc
else
REF_DIR=${TEST_DIR}/btyacc
rm -f ${REF_DIR}/test-*
-echo '** '`date`
+echo "** `date`"
# Tests which do not need files
MYFILE=nosuchfile
test_defines defines2 -d ${TEST_DIR}/calc.y
test_defines defines3 -b prefix ${TEST_DIR}/calc.y
-for input in ${TEST_DIR}/*.y
+for input in "${TEST_DIR}"/*.y
do
case $input in
test-*)
echo "?? ignored $input"
;;
*)
- root=`basename $input .y`
+ root=`basename "$input" .y`
ROOT="test-$root"
prefix=${root}_
TYPE=".error .output .tab.c .tab.h"
case $input in
${TEST_DIR}/btyacc_*)
- if test $ifBTYACC = 0; then continue; fi
+ if test "$ifBTYACC" = 0; then continue; fi
OPTS="$OPTS -B"
prefix=`echo "$prefix" | sed -e 's/^btyacc_//'`
;;
;;
${TEST_DIR}/inherit*|\
${TEST_DIR}/err_inherit*)
- if test $ifBTYACC = 0; then continue; fi
+ if test "$ifBTYACC" = 0; then continue; fi
;;
esac
if test -n "$output"
then
output="-o $output"
- error=`basename $OOPT .c`.error
+ error=`basename "$OOPT" .c`.error
else
error=${ROOT}${opt2}.error
fi
- $YACC $OPTS $opt2 -v -d $output $prefix -b $ROOT${opt2} $input 2>$error
+ $YACC $OPTS $opt2 -v -d $output $prefix -b "$ROOT${opt2}" "$input" 2>"$error"
for type in $TYPE
do
REF=${REF_DIR}/${root}${opt2}${type}
*)
;;
esac
- NEW=`basename $OOPT .c`${type}
+ NEW=`basename "$OOPT" .c`${type}
case $NEW in
test-*)
;;
if test -f "$NEW"
then
REF=${REF_DIR}/$NEW
- mv $NEW test-$NEW
- NEW=test-$NEW
+ mv "$NEW" "test-$NEW"
+ NEW="test-$NEW"
fi
;;
esac
else
- NEW=${ROOT}${opt2}${type}
+ NEW="${ROOT}${opt2}${type}"
fi
test_diffs
done
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
memset(&yyval, 0, sizeof(yyval));
memset(&yylval, 0, sizeof(yylval));
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
}
#endif
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));
const char *const body_3[] =
{
- " yym = 0;",
- " yyn = 0;",
+ " /* yym is set below */",
+ " /* yyn is set below */",
" yynerrs = 0;",
" yyerrflag = 0;",
" yychar = YYEMPTY;",
- " yystate = 0;",
+ " /* yystate is set below */",
"",
"#if YYPURE",
" memset(&yystack, 0, sizeof(yystack));",
-/* $Id: yaccpar.skel,v 1.10 2018/05/06 21:28:14 Guy.Harris Exp $ */
+/* $Id: yaccpar.skel,v 1.11 2021/06/19 20:45:25 tom Exp $ */
#include "defs.h"
memset(&yylval, 0, sizeof(yylval));
%% body_3
- yym = 0;
- yyn = 0;
+ /* yym is set below */
+ /* yyn is set below */
yynerrs = 0;
yyerrflag = 0;
yychar = YYEMPTY;
- yystate = 0;
+ /* yystate is set below */
#if YYPURE
memset(&yystack, 0, sizeof(yystack));