home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-09-07 | 268.8 KB | 9,342 lines |
- diff -rc --new-file groff-1.09/Makefile.in /gnu/src/amiga/groff-1.09/Makefile.in
- *** groff-1.09/Makefile.in Mon Feb 14 08:43:08 1994
- --- /gnu/src/amiga/groff-1.09/Makefile.in Sun Jun 12 16:50:46 1994
- ***************
- *** 75,81 ****
- # Common prefix for installation directories.
- # Used in definitions of exec_prefix, datasubdir, fontpath, manroot.
- # This must already exist when you do make install.
- ! prefix=/usr/local
-
- exec_prefix=$(prefix)
-
- --- 75,81 ----
- # Common prefix for installation directories.
- # Used in definitions of exec_prefix, datasubdir, fontpath, manroot.
- # This must already exist when you do make install.
- ! prefix=/gnu
-
- exec_prefix=$(prefix)
-
- ***************
- *** 90,102 ****
- fontdir=$(datasubdir)/font
-
- # fontpath says where to look for dev*/*.
- ! fontpath=.:$(fontdir):$(prefix)/lib/font:/usr/lib/font
-
- # tmacdir says where to install macros.
- tmacdir=$(datasubdir)/tmac
-
- # tmacpath says where to look for macro files.
- ! tmacpath=.:$(tmacdir):/usr/lib/tmac
-
- # Extension to be used for refer index files. Index files are not
- # sharable between different architectures, so you might want to use
- --- 90,102 ----
- fontdir=$(datasubdir)/font
-
- # fontpath says where to look for dev*/*.
- ! fontpath=.:$(fontdir):$(prefix)/lib/font
-
- # tmacdir says where to install macros.
- tmacdir=$(datasubdir)/tmac
-
- # tmacpath says where to look for macro files.
- ! tmacpath=.:$(tmacdir)
-
- # Extension to be used for refer index files. Index files are not
- # sharable between different architectures, so you might want to use
- ***************
- *** 105,111 ****
- indexext=.i
-
- # Directory containing the default index for refer.
- ! indexdir=/usr/dict/papers
-
- # The filename (without suffix) of the default index for refer.
- indexname=Ind
- --- 105,111 ----
- indexext=.i
-
- # Directory containing the default index for refer.
- ! indexdir=/gnu/dict/papers
-
- # The filename (without suffix) of the default index for refer.
- indexname=Ind
- ***************
- *** 189,195 ****
- INSTALL=@INSTALL@
- INSTALL_PROGRAM=@INSTALL_PROGRAM@
- INSTALL_DATA=@INSTALL_DATA@
- ! LN_S=@LN_S@
- AR=ar
- ETAGS=etags
- ETAGSFLAGS=
- --- 189,201 ----
- INSTALL=@INSTALL@
- INSTALL_PROGRAM=@INSTALL_PROGRAM@
- INSTALL_DATA=@INSTALL_DATA@
- ! # For the Amiga, force LN_S to be just "cp" rather than "ln -s", so that a
- ! # copy is made rather than a symbolic link. We support symbolic links, but
- ! # we don't want to use them in the installation because the "mkisofs" CD-ROM
- ! # mastering software doesn't know what to do with them yet (convert to a
- ! # copy on the fly).
- ! #LN_S=@LN_S@
- ! LN_S=cp
- AR=ar
- ETAGS=etags
- ETAGSFLAGS=
- diff -rc --new-file groff-1.09/Product-Info /gnu/src/amiga/groff-1.09/Product-Info
- *** groff-1.09/Product-Info Thu Jan 1 00:00:00 1970
- --- /gnu/src/amiga/groff-1.09/Product-Info Tue Jul 12 17:22:50 1994
- ***************
- *** 0 ****
- --- 1,27 ----
- + .name
- + groff
- + .fullname
- + GNU groff document formatting system
- + .type
- + Text Processing
- + .short
- + GNU groff document formatting system
- + .description
- + This is the GNU groff document formatting system. Included in this
- + release are implementations of troff, pic, eqn, tbl, refer, the -man
- + macros and the -ms macros, and drivers for PostScript, TeX dvi format,
- + and typewriter-like devices. Also included is a modified version of
- + the Berkeley -me macros, an enhanced version of the X11 xditview
- + previewer, and an implementation of the -mm macros.
- + .version
- + 1.09
- + .author
- + James Clark
- + .email
- + jjc@jclark.com
- + .requirements
- + Amiga binaries require ixemul.library.
- + .distribution
- + GNU Public License
- + .described-by
- + Fred Fish (fnf@amigalib.com)
- diff -rc --new-file groff-1.09/acgroff.m4 /gnu/src/amiga/groff-1.09/acgroff.m4
- *** groff-1.09/acgroff.m4 Sat Feb 12 14:34:48 1994
- --- /gnu/src/amiga/groff-1.09/acgroff.m4 Mon Apr 25 18:07:11 1994
- ***************
- *** 396,402 ****
- define(GROFF_ISC_SYSV3,
- [echo 'checking for ISC 3.x or 4.x'
- changequote(,)dnl
- ! if grep '[34]\.' /usr/options/cb.name >/dev/null 2>&1
- changequote([,])dnl
- then
- AC_DEFINE(_SYSV3)
- --- 396,402 ----
- define(GROFF_ISC_SYSV3,
- [echo 'checking for ISC 3.x or 4.x'
- changequote(,)dnl
- ! if true || grep '[34]\.' /usr/options/cb.name >/dev/null 2>&1
- changequote([,])dnl
- then
- AC_DEFINE(_SYSV3)
- diff -rc --new-file groff-1.09/addftinfo/addftinfo.cc /gnu/src/amiga/groff-1.09/addftinfo/addftinfo.cc
- *** groff-1.09/addftinfo/addftinfo.cc Sun Feb 13 10:24:31 1994
- --- /gnu/src/amiga/groff-1.09/addftinfo/addftinfo.cc Mon Feb 21 16:15:17 1994
- ***************
- *** 20,26 ****
-
- #include <stdio.h>
- #include <ctype.h>
- ! #include <string.h>
- #include <assert.h>
- #include <stdlib.h>
- #include <errno.h>
- --- 20,26 ----
-
- #include <stdio.h>
- #include <ctype.h>
- ! #include </gnu/include/string.h>
- #include <assert.h>
- #include <stdlib.h>
- #include <errno.h>
- diff -rc --new-file groff-1.09/afmtodit/Makefile.sub /gnu/src/amiga/groff-1.09/afmtodit/Makefile.sub
- *** groff-1.09/afmtodit/Makefile.sub Wed Oct 28 12:48:22 1992
- --- /gnu/src/amiga/groff-1.09/afmtodit/Makefile.sub Mon Feb 21 16:31:05 1994
- ***************
- *** 5,11 ****
-
- afmtodit: afmtodit.pl
- if test -n "$(PERLPATH)"; then \
- ! sed -e 's;/usr/bin/perl;$(PERLPATH);' \
- $(srcdir)/afmtodit.pl >afmtodit; \
- else \
- cp $(srcdir)/afmtodit.pl afmtodit; \
- --- 5,11 ----
-
- afmtodit: afmtodit.pl
- if test -n "$(PERLPATH)"; then \
- ! sed -e 's;/bin/perl;$(PERLPATH);' \
- $(srcdir)/afmtodit.pl >afmtodit; \
- else \
- cp $(srcdir)/afmtodit.pl afmtodit; \
- diff -rc --new-file groff-1.09/afmtodit/afmtodit.pl /gnu/src/amiga/groff-1.09/afmtodit/afmtodit.pl
- *** groff-1.09/afmtodit/afmtodit.pl Mon Apr 19 19:53:51 1993
- --- /gnu/src/amiga/groff-1.09/afmtodit/afmtodit.pl Mon Feb 21 16:30:55 1994
- ***************
- *** 1,4 ****
- ! #! /usr/bin/perl -P- # -*- Perl -*-
- #Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
- # Written by James Clark (jjc@jclark.com)
- #
- --- 1,4 ----
- ! #! /bin/perl -P- # -*- Perl -*-
- #Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
- # Written by James Clark (jjc@jclark.com)
- #
- diff -rc --new-file groff-1.09/configure /gnu/src/amiga/groff-1.09/configure
- *** groff-1.09/configure Sat Feb 12 14:43:06 1994
- --- /gnu/src/amiga/groff-1.09/configure Mon Apr 25 18:05:55 1994
- ***************
- *** 1,180 ****
- #!/bin/sh
- # Guess values for system-dependent variables and create Makefiles.
- ! # Generated automatically using autoconf.
- ! # Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
-
- ! # This program is free software; you can redistribute it and/or modify
- ! # it under the terms of the GNU General Public License as published by
- ! # the Free Software Foundation; either version 2, or (at your option)
- # any later version.
-
- ! # This program is distributed in the hope that it will be useful,
- ! # but WITHOUT ANY WARRANTY; without even the implied warranty of
- ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ! # GNU General Public License for more details.
-
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- ! # Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp]
- ! # [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE[=VALUE]]
- ! # Ignores all args except --srcdir, --prefix, --exec-prefix, and
- ! # --with-PACKAGE[=VALUE] unless this script has special code to handle it.
-
- ! for arg
- do
- - # Handle --exec-prefix with a space before the argument.
- - if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix=
- - # Handle --host with a space before the argument.
- - elif test x$next_host = xyes; then next_host=
- - # Handle --prefix with a space before the argument.
- - elif test x$next_prefix = xyes; then prefix=$arg; next_prefix=
- - # Handle --srcdir with a space before the argument.
- - elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir=
- - else
- - case $arg in
- - # For backward compatibility, recognize -exec-prefix and --exec_prefix.
- - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*)
- - exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
- - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e)
- - next_exec_prefix=yes ;;
- -
- - -gas | --gas | --ga | --g) ;;
- -
- - -host=* | --host=* | --hos=* | --ho=* | --h=*) ;;
- - -host | --host | --hos | --ho | --h)
- - next_host=yes ;;
- -
- - -nfp | --nfp | --nf) ;;
- -
- - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- - prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
- - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- - next_prefix=yes ;;
- -
- - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*)
- - srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;;
- - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s)
- - next_srcdir=yes ;;
- -
- - -with-* | --with-*)
- - package=`echo $arg|sed -e 's/-*with-//' -e 's/=.*//'`
- - # Reject names that aren't valid shell variable names.
- - if test -n "`echo $package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- - echo "configure: $package: invalid package name" >&2; exit 1
- - fi
- - package=`echo $package| sed 's/-/_/g'`
- - case "$arg" in
- - *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
- - *) val=1 ;;
- - esac
- - eval "with_$package='$val'" ;;
-
- ! -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
- ! verbose=yes ;;
-
- ! *) ;;
- esac
- ! fi
- done
-
- ! trap 'rm -fr conftest* confdefs* core; exit 1' 1 3 15
- ! trap 'rm -f confdefs*' 0
-
- # NLS nuisances.
- # These must not be set unconditionally because not all systems understand
- # e.g. LANG=C (notably SCO).
- ! if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi
- ! if test "${LANG+set}" = 'set' ; then LANG=C; export LANG; fi
-
- ! rm -f conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
- ! echo > confdefs.h
- ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
-
- # A filename unique to this package, relative to the directory that
- # configure is in, which we can look for to find out if srcdir is correct.
- ! unique_file=groff/groff.cc
-
- # Find the source files, if location was not specified.
- if test -z "$srcdir"; then
- ! srcdirdefaulted=yes
- # Try the directory containing this script, then `..'.
- ! prog=$0
- ! confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
- ! test "X$confdir" = "X$prog" && confdir=.
- ! srcdir=$confdir
- ! if test ! -r $srcdir/$unique_file; then
- srcdir=..
- fi
- fi
- ! if test ! -r $srcdir/$unique_file; then
- ! if test x$srcdirdefaulted = xyes; then
- ! echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
- else
- ! echo "configure: Can not find sources in \`${srcdir}'." 1>&2
- fi
- - exit 1
- fi
- ! # Preserve a srcdir of `.' to avoid automounter screwups with pwd.
- ! # But we can't avoid them for `..', to make subdirectories work.
- ! case $srcdir in
- ! .|/*|~*) ;;
- ! *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.
- ! esac
-
-
- - # Save the original args to write them into config.status later.
- - configure_args="$*"
- -
- if test -z "$prefix"
- then
- ! echo checking for grops to derive installation directory prefix
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="$IFS:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test $dir != . && test -f $dir/grops; then
- # Not all systems have dirname.
- ! prefix=`echo $dir|sed 's%/[^/][^/]*$%%'`
- break
- fi
- done
- ! IFS="$saveifs"
- ! echo " chose installation directory prefix ${prefix}"
- fi
- if test -z "$prefix"
- then
- ! echo checking for gcc to derive installation directory prefix
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="$IFS:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test $dir != . && test -f $dir/gcc; then
- # Not all systems have dirname.
- ! prefix=`echo $dir|sed 's%/[^/][^/]*$%%'`
- break
- fi
- done
- ! IFS="$saveifs"
- ! echo " chose installation directory prefix ${prefix}"
- fi
-
- if test -z "$CC"; then
- # Extract the first word of `gcc', so it can be a program name with args.
- ! set dummy gcc; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- CC="gcc"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
- test -z "$CC" && CC="cc"
- ! test -n "$CC" && test -n "$verbose" && echo " setting CC to $CC"
-
- # Find out if we are using GNU C, under whatever name.
- cat > conftest.c <<EOF
- --- 1,366 ----
- #!/bin/sh
- # Guess values for system-dependent variables and create Makefiles.
- ! # Generated automatically using autoconf version 1.9
- ! # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
-
- ! # This configure script is free software; you can redistribute it and/or
- ! # modify it under the terms of the GNU General Public License as published
- ! # by the Free Software Foundation; either version 2, or (at your option)
- # any later version.
-
- ! # This script is distributed in the hope that it will be useful, but
- ! # WITHOUT ANY WARRANTY; without even the implied warranty of
- ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
- ! # Public License for more details.
-
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- ! # Save the original args to write them into config.status later.
- ! configure_args="$*"
- !
- ! # Only options that might do something get documented.
- ! ac_usage="Usage: configure [options] [host]
- ! Options: [defaults in brackets after descriptions]
- ! --build=BUILD configure for building on BUILD [BUILD=HOST]
- ! --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- ! --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- ! --exec-prefix=PREFIX install host dependent files in PREFIX [/usr/local]
- ! --help print this message
- ! --host=HOST configure for HOST [guessed]
- ! --prefix=PREFIX install host independent files in PREFIX [/usr/local]
- ! --quiet, --silent do not print \`checking for...' messages
- ! --srcdir=DIR find the sources in DIR [configure dir or ..]
- ! --target=TARGET configure for TARGET [TARGET=HOST]
- ! --verbose print results of checks
- ! --version print the version of autoconf that created configure
- ! --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- ! --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- ! --x-includes=DIR X include files are in DIR
- ! --x-libraries=DIR X library files are in DIR"
- !
- ! # Initialize some variables set by options.
- ! # The variables have the same names as the options, with
- ! # dashes changed to underlines.
- ! build=NONE
- ! exec_prefix=
- ! host=NONE
- ! no_create=
- ! nonopt=NONE
- ! norecursion=
- ! prefix=
- ! program_prefix=
- ! program_suffix=
- ! program_transform_name=
- ! silent=
- ! srcdir=
- ! target=NONE
- ! verbose=
- ! x_includes=
- ! x_libraries=
-
- ! ac_prev=
- ! for ac_option
- do
-
- ! # If the previous option needs an argument, assign it.
- ! if test -n "$ac_prev"; then
- ! eval "$ac_prev=\$ac_option"
- ! ac_prev=
- ! continue
- ! fi
- !
- ! # Accept (but ignore some of) the important Cygnus configure
- ! # options, so we can diagnose typos.
- !
- ! case "$ac_option" in
- ! -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
- ! *) ac_optarg= ;;
- ! esac
-
- ! case "$ac_option" in
- !
- ! -build | --build | --buil | --bui | --bu | --b)
- ! ac_prev=build ;;
- ! -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
- ! build="$ac_optarg" ;;
- !
- ! -disable-* | --disable-*)
- ! ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
- ! # Reject names that aren't valid shell variable names.
- ! if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
- ! /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
- ! fi
- ! ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
- ! eval "enable_${ac_feature}=no" ;;
- !
- ! -enable-* | --enable-*)
- ! ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
- ! # Reject names that aren't valid shell variable names.
- ! if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
- ! /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
- ! fi
- ! ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
- ! case "$ac_option" in
- ! *=*) ;;
- ! *) ac_optarg=yes ;;
- esac
- ! eval "enable_${ac_feature}='$ac_optarg'" ;;
- !
- ! # For backward compatibility, recognize -exec-prefix and --exec_prefix.
- ! -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- ! | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- ! | --exec | --exe | --ex)
- ! ac_prev=exec_prefix ;;
- ! -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- ! | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- ! | --exec=* | --exe=* | --ex=*)
- ! exec_prefix="$ac_optarg" ;;
- !
- ! -gas | --gas | --ga | --g)
- ! with_gas=yes ;; # Obsolete; use --with-gas.
- !
- ! -help | --help | --hel | --he)
- ! cat << EOF
- ! $ac_usage
- ! EOF
- ! exit 0 ;;
- !
- ! -host | --host | --hos | --ho)
- ! ac_prev=host ;;
- ! -host=* | --host=* | --hos=* | --ho=*)
- ! host="$ac_optarg" ;;
- !
- ! -nfp | --nfp | --nf)
- ! with_fp=no ;; # Obsolete; use --without-fp.
- !
- ! -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- ! | --no-cr | --no-c)
- ! no_create=yes ;;
- !
- ! -norecursion | --norecursion | --norecursio | --norecursi \
- ! | --norecurs | --norecur | --norecu | --norec | --nore | --nor)
- ! norecursion=yes ;;
- !
- ! -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ! ac_prev=prefix ;;
- ! -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- ! prefix="$ac_optarg" ;;
- !
- ! -program-prefix | --program-prefix | --program-prefi | --program-pref \
- ! | --program-pre | --program-pr | --program-p)
- ! ac_prev=program_prefix ;;
- ! -program-prefix=* | --program-prefix=* | --program-prefi=* \
- ! | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- ! program_prefix="$ac_optarg" ;;
- !
- ! -program-suffix | --program-suffix | --program-suffi | --program-suff \
- ! | --program-suf | --program-su | --program-s)
- ! ac_prev=program_suffix ;;
- ! -program-suffix=* | --program-suffix=* | --program-suffi=* \
- ! | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- ! program_suffix="$ac_optarg" ;;
- !
- ! -program-transform-name | --program-transform-name \
- ! | --program-transform-nam | --program-transform-na \
- ! | --program-transform-n | --program-transform- \
- ! | --program-transform | --program-transfor \
- ! | --program-transfo | --program-transf \
- ! | --program-trans | --program-tran \
- ! | --progr-tra | --program-tr | --program-t)
- ! ac_prev=program_transform_name ;;
- ! -program-transform-name=* | --program-transform-name=* \
- ! | --program-transform-nam=* | --program-transform-na=* \
- ! | --program-transform-n=* | --program-transform-=* \
- ! | --program-transform=* | --program-transfor=* \
- ! | --program-transfo=* | --program-transf=* \
- ! | --program-trans=* | --program-tran=* \
- ! | --progr-tra=* | --program-tr=* | --program-t=*)
- ! program_transform_name="$ac_optarg" ;;
- !
- ! -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- ! | -silent | --silent | --silen | --sile | --sil)
- ! silent=yes ;;
- !
- ! -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ! ac_prev=srcdir ;;
- ! -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ! srcdir="$ac_optarg" ;;
- !
- ! -target | --target | --targe | --targ | --tar | --ta | --t)
- ! ac_prev=target ;;
- ! -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- ! target="$ac_optarg" ;;
- !
- ! -v | -verbose | --verbose | --verbos | --verbo | --verb)
- ! verbose=yes ;;
- !
- ! -version | --version | --versio | --versi | --vers)
- ! /bin/echo "configure generated by autoconf version 1.9"
- ! exit 0 ;;
- !
- ! -with-* | --with-*)
- ! ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
- ! # Reject names that aren't valid shell variable names.
- ! if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
- ! /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
- ! fi
- ! ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
- ! case "$ac_option" in
- ! *=*) ;;
- ! *) ac_optarg=yes ;;
- ! esac
- ! eval "with_${ac_package}='$ac_optarg'" ;;
- !
- ! -without-* | --without-*)
- ! ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
- ! # Reject names that aren't valid shell variable names.
- ! if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- ! /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
- ! fi
- ! ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
- ! eval "with_${ac_package}=no" ;;
- !
- ! --x) with_x=yes ;; # Obsolete; use --with-x.
- !
- ! -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- ! | --x-incl | --x-inc | --x-in | --x-i)
- ! ac_prev=x_includes ;;
- ! -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- ! | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- ! x_includes="$ac_optarg" ;;
- !
- ! -x-libraries | --x-libraries | --x-librarie | --x-librari \
- ! | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ! ac_prev=x_libraries ;;
- ! -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- ! | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- ! x_libraries="$ac_optarg" ;;
- !
- ! -*) /bin/echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
- ! ;;
- !
- ! *)
- ! if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
- ! /bin/echo "configure: warning: $ac_option: invalid host type" >&2
- ! fi
- ! if test "x$nonopt" != xNONE; then
- ! /bin/echo "configure: can only configure for one host and one target at a time" >&2; exit 1
- ! fi
- ! nonopt="$ac_option"
- ! ;;
- !
- ! esac
- done
-
- ! if test -n "$ac_prev"; then
- ! /bin/echo "configure: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" >&2; exit 1
- ! fi
- !
- ! trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
- ! trap 'rm -fr confdefs* $ac_clean_files' 0
- !
- ! # Save the original args if we used an alternate arg parser.
- ! ac_configure_temp="${configure_args-$*}"
- ! # Strip out --no-create and --norecursion so they don't pile up.
- ! configure_args=
- ! for ac_arg in $ac_configure_temp; do
- ! case "$ac_arg" in
- ! -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- ! | --no-cr | --no-c) ;;
- ! -norecursion | --norecursion | --norecursio | --norecursi \
- ! | --norecurs | --norecur | --norecu | --norec | --nore | --nor) ;;
- ! *) configure_args="$configure_args $ac_arg" ;;
- ! esac
- ! done
-
- # NLS nuisances.
- # These must not be set unconditionally because not all systems understand
- # e.g. LANG=C (notably SCO).
- ! if test "${LC_ALL+set}" = 'set'; then LC_ALL=C; export LC_ALL; fi
- ! if test "${LANG+set}" = 'set'; then LANG=C; export LANG; fi
-
- ! # confdefs.h avoids OS command line length limits that DEFS can exceed.
- ! rm -rf conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
- ! /bin/echo > confdefs.h
-
- # A filename unique to this package, relative to the directory that
- # configure is in, which we can look for to find out if srcdir is correct.
- ! ac_unique_file=groff/groff.cc
-
- # Find the source files, if location was not specified.
- if test -z "$srcdir"; then
- ! ac_srcdir_defaulted=yes
- # Try the directory containing this script, then `..'.
- ! ac_prog=$0
- ! ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
- ! test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
- ! srcdir=$ac_confdir
- ! if test ! -r $srcdir/$ac_unique_file; then
- srcdir=..
- fi
- fi
- ! if test ! -r $srcdir/$ac_unique_file; then
- ! if test x$ac_srcdir_defaulted = xyes; then
- ! /bin/echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
- else
- ! /bin/echo "configure: can not find sources in ${srcdir}" >&2; exit 1
- fi
- fi
- ! ac_ext=c
- ! ac_cpp='${CPP} $CFLAGS'
- ! ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
-
-
- if test -z "$prefix"
- then
- ! test -n "$silent" || /bin/echo "checking for grops to derive installation directory prefix"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$IFS:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test $ac_dir != . && test -f $ac_dir/grops; then
- # Not all systems have dirname.
- ! prefix=`/bin/echo $ac_dir|sed 's%/[^/][^/]*$%%'`
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- ! test -n "$verbose" && /bin/echo " chose installation directory prefix ${prefix}"
- fi
- if test -z "$prefix"
- then
- ! test -n "$silent" || /bin/echo "checking for gcc to derive installation directory prefix"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$IFS:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test $ac_dir != . && test -f $ac_dir/gcc; then
- # Not all systems have dirname.
- ! prefix=`/bin/echo $ac_dir|sed 's%/[^/][^/]*$%%'`
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- ! test -n "$verbose" && /bin/echo " chose installation directory prefix ${prefix}"
- fi
-
- if test -z "$CC"; then
- # Extract the first word of `gcc', so it can be a program name with args.
- ! set ac_dummy gcc; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- CC="gcc"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
- test -z "$CC" && CC="cc"
- ! test -n "$CC" && test -n "$verbose" && /bin/echo " setting CC to $CC"
-
- # Find out if we are using GNU C, under whatever name.
- cat > conftest.c <<EOF
- ***************
- *** 205,258 ****
- fi
- if test -z "$CCC"; then
- # Extract the first word of `g++', so it can be a program name with args.
- ! set dummy g++; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- CCC="g++"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
-
- ! test -n "$CCC" && test -n "$verbose" && echo " setting CCC to $CCC"
-
- if test -z "$CCC"; then
- # Extract the first word of `CC', so it can be a program name with args.
- ! set dummy CC; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- CCC="CC"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
-
- ! test -n "$CCC" && test -n "$verbose" && echo " setting CCC to $CCC"
-
- if test -z "$CCC"; then
- # Extract the first word of `cc++', so it can be a program name with args.
- ! set dummy cc++; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- CCC="cc++"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
-
- ! test -n "$CCC" && test -n "$verbose" && echo " setting CCC to $CCC"
-
- if test -z "$CCC"; then
- cat <<EOM
- --- 391,444 ----
- fi
- if test -z "$CCC"; then
- # Extract the first word of `g++', so it can be a program name with args.
- ! set ac_dummy g++; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- CCC="g++"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
-
- ! test -n "$CCC" && test -n "$verbose" && /bin/echo " setting CCC to $CCC"
-
- if test -z "$CCC"; then
- # Extract the first word of `CC', so it can be a program name with args.
- ! set ac_dummy CC; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- CCC="CC"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
-
- ! test -n "$CCC" && test -n "$verbose" && /bin/echo " setting CCC to $CCC"
-
- if test -z "$CCC"; then
- # Extract the first word of `cc++', so it can be a program name with args.
- ! set ac_dummy cc++; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- CCC="cc++"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
-
- ! test -n "$CCC" && test -n "$verbose" && /bin/echo " setting CCC to $CCC"
-
- if test -z "$CCC"; then
- cat <<EOM
- ***************
- *** 328,373 ****
- rm -f conftest*
- if test -z "$PSPRINT"
- then
- ! for p in lpr
- do
- if test -z "$LPR"; then
- ! # Extract the first word of `$p', so it can be a program name with args.
- ! set dummy $p; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- ! LPR="$p"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
-
- ! test -n "$LPR" && test -n "$verbose" && echo " setting LPR to $LPR"
-
- test -n "$LPR" && break
- done
-
- ! for p in lp
- do
- if test -z "$LP"; then
- ! # Extract the first word of `$p', so it can be a program name with args.
- ! set dummy $p; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- ! LP="$p"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
-
- ! test -n "$LP" && test -n "$verbose" && echo " setting LP to $LP"
-
- test -n "$LP" && break
- done
- --- 514,559 ----
- rm -f conftest*
- if test -z "$PSPRINT"
- then
- ! for ac_prog in lpr
- do
- if test -z "$LPR"; then
- ! # Extract the first word of `$ac_prog', so it can be a program name with args.
- ! set ac_dummy $ac_prog; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- ! LPR="$ac_prog"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
-
- ! test -n "$LPR" && test -n "$verbose" && /bin/echo " setting LPR to $LPR"
-
- test -n "$LPR" && break
- done
-
- ! for ac_prog in lp
- do
- if test -z "$LP"; then
- ! # Extract the first word of `$ac_prog', so it can be a program name with args.
- ! set ac_dummy $ac_prog; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- ! LP="$ac_prog"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
-
- ! test -n "$LP" && test -n "$verbose" && /bin/echo " setting LP to $LP"
-
- test -n "$LP" && break
- done
- ***************
- *** 377,400 ****
- # HP-UX provides an lpr command that emulates lpr using lp,
- # but it doesn't have lpq; in this case we want to use lp
- # rather than lpr.
- ! for p in lpq
- do
- if test -z "$LPQ"; then
- ! # Extract the first word of `$p', so it can be a program name with args.
- ! set dummy $p; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- ! LPQ="$p"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
-
- ! test -n "$LPQ" && test -n "$verbose" && echo " setting LPQ to $LPQ"
-
- test -n "$LPQ" && break
- done
- --- 563,586 ----
- # HP-UX provides an lpr command that emulates lpr using lp,
- # but it doesn't have lpq; in this case we want to use lp
- # rather than lpr.
- ! for ac_prog in lpq
- do
- if test -z "$LPQ"; then
- ! # Extract the first word of `$ac_prog', so it can be a program name with args.
- ! set ac_dummy $ac_prog; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- ! LPQ="$ac_prog"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
-
- ! test -n "$LPQ" && test -n "$verbose" && /bin/echo " setting LPQ to $LPQ"
-
- test -n "$LPQ" && break
- done
- ***************
- *** 435,534 ****
-
- if test -z "$YACC"; then
- # Extract the first word of `byacc', so it can be a program name with args.
- ! set dummy byacc; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- YACC="byacc"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
-
- ! test -n "$YACC" && test -n "$verbose" && echo " setting YACC to $YACC"
-
- if test -z "$YACC"; then
- # Extract the first word of `bison', so it can be a program name with args.
- ! set dummy bison; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- YACC="bison -y"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
- test -z "$YACC" && YACC="yacc"
- ! test -n "$YACC" && test -n "$verbose" && echo " setting YACC to $YACC"
-
-
- if test -z "$RANLIB"; then
- # Extract the first word of `ranlib', so it can be a program name with args.
- ! set dummy ranlib; word=$2
- ! echo checking for $word
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! if test -f $dir/$word; then
- RANLIB="ranlib"
- break
- fi
- done
- ! IFS="$saveifs"
- fi
- test -z "$RANLIB" && RANLIB=":"
- ! test -n "$RANLIB" && test -n "$verbose" && echo " setting RANLIB to $RANLIB"
-
- # Make sure to not get the incompatible SysV /etc/install and
- # /usr/sbin/install, which might be in PATH before a BSD-like install,
- # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
- # or the AFS install, which mishandles nonexistent args, or
- # /usr/ucb/install on SVR4, which tries to use the nonexistent group
- ! # `staff'. On most BSDish systems install is in /usr/bin, not /usr/ucb
- ! # anyway. Sigh.
- if test "z${INSTALL}" = "z" ; then
- ! echo checking for install
- ! IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
- ! for dir in $PATH; do
- ! test -z "$dir" && dir=.
- ! case $dir in
- ! /etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
- *)
- ! if test -f $dir/installbsd; then
- ! INSTALL="$dir/installbsd -c" # OSF1
- ! INSTALL_PROGRAM='$(INSTALL)'
- ! INSTALL_DATA='$(INSTALL) -m 644'
- ! break
- ! fi
- ! if test -f $dir/install; then
- ! if grep dspmsg $dir/install >/dev/null 2>&1; then
- ! : # AIX
- ! else
- ! INSTALL="$dir/install -c"
- ! INSTALL_PROGRAM='$(INSTALL)'
- ! INSTALL_DATA='$(INSTALL) -m 644'
- ! break
- fi
- ! fi
- ;;
- esac
- done
- ! IFS="$saveifs"
- fi
- ! INSTALL=${INSTALL-cp}
- ! test -n "$verbose" && echo " setting INSTALL to $INSTALL"
- ! INSTALL_PROGRAM=${INSTALL_PROGRAM-'$(INSTALL)'}
- ! test -n "$verbose" && echo " setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
- ! INSTALL_DATA=${INSTALL_DATA-'$(INSTALL)'}
- ! test -n "$verbose" && echo " setting INSTALL_DATA to $INSTALL_DATA"
-
- ! echo checking for ln -s
- rm -f conftestdata
- if ln -s X conftestdata 2>/dev/null
- then
- --- 621,738 ----
-
- if test -z "$YACC"; then
- # Extract the first word of `byacc', so it can be a program name with args.
- ! set ac_dummy byacc; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- YACC="byacc"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
-
- ! test -n "$YACC" && test -n "$verbose" && /bin/echo " setting YACC to $YACC"
-
- if test -z "$YACC"; then
- # Extract the first word of `bison', so it can be a program name with args.
- ! set ac_dummy bison; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- YACC="bison -y"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
- test -z "$YACC" && YACC="yacc"
- ! test -n "$YACC" && test -n "$verbose" && /bin/echo " setting YACC to $YACC"
-
-
- if test -z "$RANLIB"; then
- # Extract the first word of `ranlib', so it can be a program name with args.
- ! set ac_dummy ranlib; ac_word=$2
- ! test -n "$silent" || /bin/echo "checking for $ac_word"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! test -z "$ac_dir" && ac_dir=.
- ! if test -f $ac_dir/$ac_word; then
- RANLIB="ranlib"
- break
- fi
- done
- ! IFS="$ac_save_ifs"
- fi
- test -z "$RANLIB" && RANLIB=":"
- ! test -n "$RANLIB" && test -n "$verbose" && /bin/echo " setting RANLIB to $RANLIB"
-
- # Make sure to not get the incompatible SysV /etc/install and
- # /usr/sbin/install, which might be in PATH before a BSD-like install,
- # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
- # or the AFS install, which mishandles nonexistent args, or
- # /usr/ucb/install on SVR4, which tries to use the nonexistent group
- ! # `staff', or /sbin/install on IRIX which has incompatible command-line
- ! # syntax. Sigh.
- ! #
- ! # On most BSDish systems install is in /usr/bin, not /usr/ucb
- ! # anyway.
- ! # This turns out not to be true, so the mere pathname isn't an indication
- ! # of whether the program works. What we really need is a set of tests for
- ! # the install program to see if it actually works in all the required ways.
- ! #
- ! # Avoid using ./install, which might have been erroneously created
- ! # by make from ./install.sh.
- if test "z${INSTALL}" = "z" ; then
- ! test -n "$silent" || /bin/echo "checking for a BSD compatible install"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- ! for ac_dir in $PATH; do
- ! case "$ac_dir" in
- ! ''|.|/gnu/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
- *)
- ! # OSF1 and SCO ODT 3.0 have their own names for install.
- ! for ac_prog in installbsd scoinst install; do
- ! if test -f $ac_dir/$ac_prog; then
- ! if test $ac_prog = install &&
- ! grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
- ! # AIX install. It has an incompatible calling convention.
- ! # OSF/1 installbsd also uses dspmsg, but is usable.
- ! :
- ! else
- ! INSTALL="$ac_dir/$ac_prog -c"
- ! INSTALL_PROGRAM='${INSTALL}'
- ! INSTALL_DATA='${INSTALL} -m 644'
- ! break 2
- ! fi
- fi
- ! done
- ;;
- esac
- done
- ! IFS="$ac_save_ifs"
- ! fi
- ! if test -z "$INSTALL"; then
- ! if test -f ${srcdir}/install.sh; then
- ! # As a last resort, use the slow shell script.
- ! INSTALL='@top_srcdir@/install.sh -c'
- ! else
- ! /bin/echo "configure: warning: ${srcdir}/install.sh not found; using cp" >&2
- ! INSTALL=cp
- ! fi
- fi
- ! test -n "$verbose" && /bin/echo " setting INSTALL to $INSTALL"
- ! # Use test -z because SunOS4 sh mishandles ${INSTALL_PROGRAM-'${INSTALL}'}.
- ! # It thinks the first close brace ends the variable substitution.
- ! test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
- ! test -n "$verbose" && /bin/echo " setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
- ! test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL}'
- ! test -n "$verbose" && /bin/echo " setting INSTALL_DATA to $INSTALL_DATA"
-
- ! test -n "$silent" || /bin/echo "checking for ln -s"
- rm -f conftestdata
- if ln -s X conftestdata 2>/dev/null
- then
- ***************
- *** 566,588 ****
- rm -f conftest.sh
-
-
- ! for hdr in unistd.h dirent.h limits.h sys/dir.h stdlib.h
- ! do
- ! trhdr=HAVE_`echo $hdr | tr '[a-z]./' '[A-Z]__'`
- ! echo checking for ${hdr}
- ! echo checking how to run the C preprocessor
- if test -z "$CPP"; then
- # This must be in double quotes, not single quotes, because CPP may get
- # substituted into the Makefile and ``${CC-cc}'' will simply confuse
- # make. It must be expanded now.
- CPP="${CC-cc} -E"
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
- #include <stdio.h>
- Syntax Error
- EOF
- ! err=`eval "($CPP conftest.c >/dev/null) 2>&1"`
- ! if test -z "$err"; then
- :
- else
- rm -rf conftest*
- --- 770,803 ----
- rm -f conftest.sh
-
-
- ! test -n "$silent" || /bin/echo "checking how to run the C preprocessor"
- if test -z "$CPP"; then
- # This must be in double quotes, not single quotes, because CPP may get
- # substituted into the Makefile and ``${CC-cc}'' will simply confuse
- # make. It must be expanded now.
- CPP="${CC-cc} -E"
- ! cat > conftest.${ac_ext} <<EOF
- ! #include "confdefs.h"
- ! #include <stdio.h>
- ! Syntax Error
- ! EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- ! if test -z "$ac_err"; then
- ! :
- ! else
- ! rm -rf conftest*
- ! CPP="${CC-cc} -E -traditional-cpp"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <stdio.h>
- Syntax Error
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- ! if test -z "$ac_err"; then
- :
- else
- rm -rf conftest*
- ***************
- *** 590,610 ****
- fi
- rm -f conftest*
- fi
- ! test ".${verbose}" != "." && echo " setting CPP to $CPP"
-
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
- ! #include <${hdr}>
- EOF
- ! err=`eval "($CPP conftest.c >/dev/null) 2>&1"`
- ! if test -z "$err"; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! echo " defining ${trhdr}"
- ! echo "#define" ${trhdr} 1 >> confdefs.h
- ! DEFS="$DEFS -D${trhdr}=1"
- }
-
-
- --- 805,833 ----
- fi
- rm -f conftest*
- fi
- ! rm -f conftest*
- ! fi
- ! test -n "$verbose" && /bin/echo " setting CPP to $CPP"
-
- ! for ac_hdr in unistd.h dirent.h limits.h sys/dir.h stdlib.h
- ! do
- ! ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
- ! test -n "$silent" || /bin/echo "checking for ${ac_hdr}"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! #include <${ac_hdr}>
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- ! if test -z "$ac_err"; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining ${ac_tr_hdr}"
- ! /bin/echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
- ! DEFS="$DEFS -D${ac_tr_hdr}=1"
- }
-
-
- ***************
- *** 613,625 ****
- done
-
- echo 'checking for ISC 3.x or 4.x'
- ! if grep '[34]\.' /usr/options/cb.name >/dev/null 2>&1
- then
-
- {
- test -n "$verbose" && \
- ! echo " defining _SYSV3"
- ! echo "#define" _SYSV3 1 >> confdefs.h
- DEFS="$DEFS -D_SYSV3=1"
- }
-
- --- 836,848 ----
- done
-
- echo 'checking for ISC 3.x or 4.x'
- ! if true || grep '[34]\.' /usr/options/cb.name >/dev/null 2>&1
- then
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining _SYSV3"
- ! /bin/echo "#define" _SYSV3 "1" >> confdefs.h
- DEFS="$DEFS -D_SYSV3=1"
- }
-
- ***************
- *** 635,642 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining _POSIX_SOURCE"
- ! echo "#define" _POSIX_SOURCE 1 >> confdefs.h
- DEFS="$DEFS -D_POSIX_SOURCE=1"
- }
-
- --- 858,865 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining _POSIX_SOURCE"
- ! /bin/echo "#define" _POSIX_SOURCE "1" >> confdefs.h
- DEFS="$DEFS -D_POSIX_SOURCE=1"
- }
-
- ***************
- *** 651,658 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining HAVE_CC_LIMITS_H"
- ! echo "#define" HAVE_CC_LIMITS_H 1 >> confdefs.h
- DEFS="$DEFS -DHAVE_CC_LIMITS_H=1"
- }
-
- --- 874,881 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining HAVE_CC_LIMITS_H"
- ! /bin/echo "#define" HAVE_CC_LIMITS_H "1" >> confdefs.h
- DEFS="$DEFS -DHAVE_CC_LIMITS_H=1"
- }
-
- ***************
- *** 667,674 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining HAVE_CC_OSFCN_H"
- ! echo "#define" HAVE_CC_OSFCN_H 1 >> confdefs.h
- DEFS="$DEFS -DHAVE_CC_OSFCN_H=1"
- }
-
- --- 890,897 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining HAVE_CC_OSFCN_H"
- ! /bin/echo "#define" HAVE_CC_OSFCN_H "1" >> confdefs.h
- DEFS="$DEFS -DHAVE_CC_OSFCN_H=1"
- }
-
- ***************
- *** 686,693 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining STDLIB_H_DECLARES_GETOPT"
- ! echo "#define" STDLIB_H_DECLARES_GETOPT 1 >> confdefs.h
- DEFS="$DEFS -DSTDLIB_H_DECLARES_GETOPT=1"
- }
-
- --- 909,916 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining STDLIB_H_DECLARES_GETOPT"
- ! /bin/echo "#define" STDLIB_H_DECLARES_GETOPT "1" >> confdefs.h
- DEFS="$DEFS -DSTDLIB_H_DECLARES_GETOPT=1"
- }
-
- ***************
- *** 706,713 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining UNISTD_H_DECLARES_GETOPT"
- ! echo "#define" UNISTD_H_DECLARES_GETOPT 1 >> confdefs.h
- DEFS="$DEFS -DUNISTD_H_DECLARES_GETOPT=1"
- }
-
- --- 929,936 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining UNISTD_H_DECLARES_GETOPT"
- ! /bin/echo "#define" UNISTD_H_DECLARES_GETOPT "1" >> confdefs.h
- DEFS="$DEFS -DUNISTD_H_DECLARES_GETOPT=1"
- }
-
- ***************
- *** 726,733 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining STDLIB_H_DECLARES_PUTENV"
- ! echo "#define" STDLIB_H_DECLARES_PUTENV 1 >> confdefs.h
- DEFS="$DEFS -DSTDLIB_H_DECLARES_PUTENV=1"
- }
-
- --- 949,956 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining STDLIB_H_DECLARES_PUTENV"
- ! /bin/echo "#define" STDLIB_H_DECLARES_PUTENV "1" >> confdefs.h
- DEFS="$DEFS -DSTDLIB_H_DECLARES_PUTENV=1"
- }
-
- ***************
- *** 745,752 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining STDIO_H_DECLARES_POPEN"
- ! echo "#define" STDIO_H_DECLARES_POPEN 1 >> confdefs.h
- DEFS="$DEFS -DSTDIO_H_DECLARES_POPEN=1"
- }
-
- --- 968,975 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining STDIO_H_DECLARES_POPEN"
- ! /bin/echo "#define" STDIO_H_DECLARES_POPEN "1" >> confdefs.h
- DEFS="$DEFS -DSTDIO_H_DECLARES_POPEN=1"
- }
-
- ***************
- *** 764,771 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining STDIO_H_DECLARES_PCLOSE"
- ! echo "#define" STDIO_H_DECLARES_PCLOSE 1 >> confdefs.h
- DEFS="$DEFS -DSTDIO_H_DECLARES_PCLOSE=1"
- }
-
- --- 987,994 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining STDIO_H_DECLARES_PCLOSE"
- ! /bin/echo "#define" STDIO_H_DECLARES_PCLOSE "1" >> confdefs.h
- DEFS="$DEFS -DSTDIO_H_DECLARES_PCLOSE=1"
- }
-
- ***************
- *** 782,796 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining LONG_FOR_TIME_T"
- ! echo "#define" LONG_FOR_TIME_T 1 >> confdefs.h
- DEFS="$DEFS -DLONG_FOR_TIME_T=1"
- }
-
- fi
- rm -f conftest*
- ! echo checking for return type of signal handlers
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- #include <signal.h>
- --- 1005,1019 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining LONG_FOR_TIME_T"
- ! /bin/echo "#define" LONG_FOR_TIME_T "1" >> confdefs.h
- DEFS="$DEFS -DLONG_FOR_TIME_T=1"
- }
-
- fi
- rm -f conftest*
- ! test -n "$silent" || /bin/echo "checking for return type of signal handlers"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- #include <signal.h>
- ***************
- *** 798,813 ****
- #undef signal
- #endif
- extern void (*signal ()) ();
- ! int main() { exit(0); }
- ! int t() { int i; }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! echo " defining" RETSIGTYPE to be void
- ! echo "#define" RETSIGTYPE void >> confdefs.h
- DEFS="$DEFS -DRETSIGTYPE=void"
- }
-
- --- 1021,1036 ----
- #undef signal
- #endif
- extern void (*signal ()) ();
- ! int main() { return 0; }
- ! int t() { int i;; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining" RETSIGTYPE to be "void"
- ! /bin/echo "#define" RETSIGTYPE "void" >> confdefs.h
- DEFS="$DEFS -DRETSIGTYPE=void"
- }
-
- ***************
- *** 817,824 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining" RETSIGTYPE to be int
- ! echo "#define" RETSIGTYPE int >> confdefs.h
- DEFS="$DEFS -DRETSIGTYPE=int"
- }
-
- --- 1040,1047 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining" RETSIGTYPE to be "int"
- ! /bin/echo "#define" RETSIGTYPE "int" >> confdefs.h
- DEFS="$DEFS -DRETSIGTYPE=int"
- }
-
- ***************
- *** 826,845 ****
- rm -f conftest*
-
-
- ! echo checking for struct exception
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
- #include <math.h>
- ! int main() { exit(0); }
- ! int t() { struct exception e; }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! echo " defining HAVE_STRUCT_EXCEPTION"
- ! echo "#define" HAVE_STRUCT_EXCEPTION 1 >> confdefs.h
- DEFS="$DEFS -DHAVE_STRUCT_EXCEPTION=1"
- }
-
- --- 1049,1068 ----
- rm -f conftest*
-
-
- ! test -n "$silent" || /bin/echo "checking for struct exception"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <math.h>
- ! int main() { return 0; }
- ! int t() { struct exception e;; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining HAVE_STRUCT_EXCEPTION"
- ! /bin/echo "#define" HAVE_STRUCT_EXCEPTION "1" >> confdefs.h
- DEFS="$DEFS -DHAVE_STRUCT_EXCEPTION=1"
- }
-
- ***************
- *** 847,867 ****
- fi
- rm -f conftest*
-
- ! echo checking for mmap
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/mman.h>
- ! int main() { exit(0); }
- ! int t() { char *p = mmap(0, 0, PROT_READ, MAP_PRIVATE, 0, 0); munmap(p, 0); }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! echo " defining HAVE_MMAP"
- ! echo "#define" HAVE_MMAP 1 >> confdefs.h
- DEFS="$DEFS -DHAVE_MMAP=1"
- }
-
- --- 1070,1090 ----
- fi
- rm -f conftest*
-
- ! test -n "$silent" || /bin/echo "checking for mmap"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/mman.h>
- ! int main() { return 0; }
- ! int t() { char *p = mmap(0, 0, PROT_READ, MAP_PRIVATE, 0, 0); munmap(p, 0);; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining HAVE_MMAP"
- ! /bin/echo "#define" HAVE_MMAP "1" >> confdefs.h
- DEFS="$DEFS -DHAVE_MMAP=1"
- }
-
- ***************
- *** 869,878 ****
- fi
- rm -f conftest*
-
- ! echo checking for pid_t in sys/types.h
- ! echo '#include "confdefs.h"
- ! #include <sys/types.h>' > conftest.c
- ! eval "$CPP conftest.c > conftest.out 2>&1"
- if egrep "pid_t" conftest.out >/dev/null 2>&1; then
- :
- else
- --- 1092,1101 ----
- fi
- rm -f conftest*
-
- ! test -n "$silent" || /bin/echo "checking for pid_t in sys/types.h"
- ! /bin/echo '#include "confdefs.h"
- ! #include <sys/types.h>' > conftest.${ac_ext}
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- if egrep "pid_t" conftest.out >/dev/null 2>&1; then
- :
- else
- ***************
- *** 880,906 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining" pid_t to be int
- ! echo "#define" pid_t int >> confdefs.h
- DEFS="$DEFS -Dpid_t=int"
- }
-
- fi
- rm -f conftest*
-
- ! echo checking for vfork.h
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
- #include <vfork.h>
- EOF
- ! err=`eval "($CPP conftest.c >/dev/null) 2>&1"`
- ! if test -z "$err"; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! echo " defining HAVE_VFORK_H"
- ! echo "#define" HAVE_VFORK_H 1 >> confdefs.h
- DEFS="$DEFS -DHAVE_VFORK_H=1"
- }
-
- --- 1103,1131 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining" pid_t to be "int"
- ! /bin/echo "#define" pid_t "int" >> confdefs.h
- DEFS="$DEFS -Dpid_t=int"
- }
-
- fi
- rm -f conftest*
-
- ! test -n "$silent" || /bin/echo "checking for vfork.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <vfork.h>
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- ! if test -z "$ac_err"; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining HAVE_VFORK_H"
- ! /bin/echo "#define" HAVE_VFORK_H "1" >> confdefs.h
- DEFS="$DEFS -DHAVE_VFORK_H=1"
- }
-
- ***************
- *** 908,916 ****
- fi
- rm -f conftest*
-
- ! echo checking for working vfork
-
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
- /* Thanks to Paul Eggert for this test. */
- #include <stdio.h>
- --- 1133,1141 ----
- fi
- rm -f conftest*
-
- ! test -n "$silent" || /bin/echo "checking for working vfork"
-
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- /* Thanks to Paul Eggert for this test. */
- #include <stdio.h>
- ***************
- *** 929,934 ****
- --- 1154,1164 ----
- pid_t parent = getpid ();
- pid_t child;
-
- + #ifdef __amigados__
- + /* Force this test to succeed for AmigaDOS, which has a fairly good
- + vfork() emulation, but doesn't support fork() at all. -fnf */
- + exit (0);
- + #endif
- signal (SIGINT, catch);
-
- child = vfork ();
- ***************
- *** 994,1008 ****
- }
- }
- EOF
- ! eval $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- :
- else
-
- {
- test -n "$verbose" && \
- ! echo " defining" vfork to be fork
- ! echo "#define" vfork fork >> confdefs.h
- DEFS="$DEFS -Dvfork=fork"
- }
-
- --- 1224,1238 ----
- }
- }
- EOF
- ! eval $ac_compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- :
- else
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining" vfork to be "fork"
- ! /bin/echo "#define" vfork "fork" >> confdefs.h
- DEFS="$DEFS -Dvfork=fork"
- }
-
- ***************
- *** 1011,1074 ****
-
- saved_libs="$LIBS"
- LIBS="$LIBS -lm"
- ! for func in fmod strtol getcwd strerror putenv
- do
- ! echo checking for ${func}
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
- #include <ctype.h>
- ! int main() { exit(0); }
- int t() {
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- ! #if defined (__stub_${func}) || defined (__stub___${func})
- choke me
- #else
- /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char ${func}(); ${func}();
- #endif
- ! }
- EOF
- ! if eval $compile; then
- :
- else
- rm -rf conftest*
- ! LIBOBJS="$LIBOBJS ${func}.o"
- ! test -n "$verbose" && echo " using ${func}.o instead"
- fi
- rm -f conftest*
-
- done
-
- LIBS="$saved_libs"
- ! for func in rename mkstemp
- do
- ! trfunc=HAVE_`echo $func | tr '[a-z]' '[A-Z]'`
- ! echo checking for ${func}
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
- #include <ctype.h>
- ! int main() { exit(0); }
- int t() {
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- ! #if defined (__stub_${func}) || defined (__stub___${func})
- choke me
- #else
- /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char ${func}(); ${func}();
- #endif
- ! }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- ! echo " defining ${trfunc}"
- ! echo "#define" ${trfunc} 1 >> confdefs.h
- ! DEFS="$DEFS -D${trfunc}=1"
- }
-
-
- --- 1241,1304 ----
-
- saved_libs="$LIBS"
- LIBS="$LIBS -lm"
- ! for ac_func in fmod strtol getcwd strerror putenv
- do
- ! test -n "$silent" || /bin/echo "checking for ${ac_func}"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <ctype.h>
- ! int main() { return 0; }
- int t() {
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- ! #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
- choke me
- #else
- /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char ${ac_func}(); ${ac_func}();
- #endif
- ! ; return 0; }
- EOF
- ! if eval $ac_compile; then
- :
- else
- rm -rf conftest*
- ! LIBOBJS="$LIBOBJS ${ac_func}.o"
- ! test -n "$verbose" && /bin/echo " using ${ac_func}.o instead"
- fi
- rm -f conftest*
-
- done
-
- LIBS="$saved_libs"
- ! for ac_func in rename mkstemp
- do
- ! ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
- ! test -n "$silent" || /bin/echo "checking for ${ac_func}"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <ctype.h>
- ! int main() { return 0; }
- int t() {
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- ! #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
- choke me
- #else
- /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char ${ac_func}(); ${ac_func}();
- #endif
- ! ; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- ! /bin/echo " defining ${ac_tr_func}"
- ! /bin/echo "#define" ${ac_tr_func} "1" >> confdefs.h
- ! DEFS="$DEFS -D${ac_tr_func}=1"
- }
-
-
- ***************
- *** 1076,1095 ****
- rm -f conftest*
- done
-
- ! echo checking for sys_siglist
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
-
- ! int main() { exit(0); }
- ! int t() { extern char *sys_siglist[]; sys_siglist[0] = 0; }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! echo " defining HAVE_SYS_SIGLIST"
- ! echo "#define" HAVE_SYS_SIGLIST 1 >> confdefs.h
- DEFS="$DEFS -DHAVE_SYS_SIGLIST=1"
- }
-
- --- 1306,1325 ----
- rm -f conftest*
- done
-
- ! test -n "$silent" || /bin/echo "checking for sys_siglist"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- ! int main() { return 0; }
- ! int t() { extern char *sys_siglist[]; sys_siglist[0] = 0;; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining HAVE_SYS_SIGLIST"
- ! /bin/echo "#define" HAVE_SYS_SIGLIST "1" >> confdefs.h
- DEFS="$DEFS -DHAVE_SYS_SIGLIST=1"
- }
-
- ***************
- *** 1143,1150 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining COOKIE_BUG"
- ! echo "#define" COOKIE_BUG 1 >> confdefs.h
- DEFS="$DEFS -DCOOKIE_BUG=1"
- }
-
- --- 1373,1380 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining COOKIE_BUG"
- ! /bin/echo "#define" COOKIE_BUG "1" >> confdefs.h
- DEFS="$DEFS -DCOOKIE_BUG=1"
- }
-
- ***************
- *** 1175,1182 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining CFRONT_ANSI_BUG"
- ! echo "#define" CFRONT_ANSI_BUG 1 >> confdefs.h
- DEFS="$DEFS -DCFRONT_ANSI_BUG=1"
- }
-
- --- 1405,1412 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining CFRONT_ANSI_BUG"
- ! /bin/echo "#define" CFRONT_ANSI_BUG "1" >> confdefs.h
- DEFS="$DEFS -DCFRONT_ANSI_BUG=1"
- }
-
- ***************
- *** 1193,1200 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining ARRAY_DELETE_NEEDS_SIZE"
- ! echo "#define" ARRAY_DELETE_NEEDS_SIZE 1 >> confdefs.h
- DEFS="$DEFS -DARRAY_DELETE_NEEDS_SIZE=1"
- }
-
- --- 1423,1430 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining ARRAY_DELETE_NEEDS_SIZE"
- ! /bin/echo "#define" ARRAY_DELETE_NEEDS_SIZE "1" >> confdefs.h
- DEFS="$DEFS -DARRAY_DELETE_NEEDS_SIZE=1"
- }
-
- ***************
- *** 1209,1223 ****
-
- {
- test -n "$verbose" && \
- ! echo " defining TRADITIONAL_CPP"
- ! echo "#define" TRADITIONAL_CPP 1 >> confdefs.h
- DEFS="$DEFS -DTRADITIONAL_CPP=1"
- }
-
- fi
- rm -f conftest*
- echo checking for w_coredump
- ! cat > conftest.c <<EOF
- #include "confdefs.h"
-
- #include <sys/types.h>
- --- 1439,1453 ----
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining TRADITIONAL_CPP"
- ! /bin/echo "#define" TRADITIONAL_CPP "1" >> confdefs.h
- DEFS="$DEFS -DTRADITIONAL_CPP=1"
- }
-
- fi
- rm -f conftest*
- echo checking for w_coredump
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- #include <sys/types.h>
- ***************
- *** 1234,1246 ****
- }
-
- EOF
- ! eval $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
-
- {
- test -n "$verbose" && \
- ! echo " defining" WCOREFLAG to be 0200
- ! echo "#define" WCOREFLAG 0200 >> confdefs.h
- DEFS="$DEFS -DWCOREFLAG=0200"
- }
-
- --- 1464,1476 ----
- }
-
- EOF
- ! eval $ac_compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
-
- {
- test -n "$verbose" && \
- ! /bin/echo " defining" WCOREFLAG to be "0200"
- ! /bin/echo "#define" WCOREFLAG "0200" >> confdefs.h
- DEFS="$DEFS -DWCOREFLAG=0200"
- }
-
- ***************
- *** 1287,1310 ****
-
- # Set default prefixes.
- if test -n "$prefix"; then
- ! test -z "$exec_prefix" && exec_prefix='${prefix}'
- ! prsub="s%^prefix\\([ ]*\\)=\\([ ]*\\).*$%prefix\\1=\\2$prefix%"
- fi
- if test -n "$exec_prefix"; then
- ! prsub="$prsub
- s%^exec_prefix\\([ ]*\\)=\\([ ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
- fi
- # Quote sed substitution magic chars in DEFS.
- cat >conftest.def <<EOF
- $DEFS
- EOF
- ! escape_ampersand_and_backslash='s%[&\\]%\\&%g'
- ! DEFS=`sed "$escape_ampersand_and_backslash" <conftest.def`
- rm -f conftest.def
- # Substitute for predefined variables.
-
- ! trap 'rm -f config.status; exit 1' 1 3 15
- ! echo creating config.status
- rm -f config.status
- cat > config.status <<EOF
- #!/bin/sh
- --- 1517,1547 ----
-
- # Set default prefixes.
- if test -n "$prefix"; then
- ! test -z "$exec_prefix" && exec_prefix='${prefix}' # Let make expand it.
- ! ac_prsub="s%^prefix\\([ ]*\\)=\\([ ]*\\).*$%prefix\\1=\\2$prefix%"
- fi
- if test -n "$exec_prefix"; then
- ! ac_prsub="$ac_prsub
- s%^exec_prefix\\([ ]*\\)=\\([ ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
- fi
- + # Any assignment to VPATH causes Sun make to only execute
- + # the first set of double-colon rules, so remove it if not needed.
- + # If there is a colon in the path, we need to keep it.
- + if test "x$srcdir" = x.; then
- + ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
- + fi
- +
- # Quote sed substitution magic chars in DEFS.
- cat >conftest.def <<EOF
- $DEFS
- EOF
- ! ac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'
- ! DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`
- rm -f conftest.def
- # Substitute for predefined variables.
-
- ! trap 'rm -f config.status; exit 1' 1 2 15
- ! /bin/echo creating config.status
- rm -f config.status
- cat > config.status <<EOF
- #!/bin/sh
- ***************
- *** 1315,1331 ****
- #
- # $0 $configure_args
-
- ! for arg
- do
- ! case "\$arg" in
- ! -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ! echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args
- ! exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args ;;
- ! *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
- esac
- done
-
- ! trap 'rm -f Makefile; exit 1' 1 3 15
- CC='$CC'
- CCLIBS='$CCLIBS'
- CCC='$CCC'
- --- 1552,1574 ----
- #
- # $0 $configure_args
-
- ! ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
- ! for ac_option
- do
- ! case "\$ac_option" in
- ! -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ! /bin/echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create
- ! exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;;
- ! -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- ! /bin/echo "config.status generated by autoconf version 1.9"
- ! exit 0 ;;
- ! -help | --help | --hel | --he | --h)
- ! /bin/echo "\$ac_cs_usage"; exit 0 ;;
- ! *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
- esac
- done
-
- ! trap 'rm -f Makefile; exit 1' 1 2 15
- CC='$CC'
- CCLIBS='$CCLIBS'
- CCC='$CCC'
- ***************
- *** 1349,1378 ****
- PAGE='$PAGE'
- LIBS='$LIBS'
- srcdir='$srcdir'
- ! DEFS='$DEFS'
- prefix='$prefix'
- exec_prefix='$exec_prefix'
- ! prsub='$prsub'
- extrasub='$extrasub'
- EOF
- cat >> config.status <<\EOF
-
- ! top_srcdir=$srcdir
-
- CONFIG_FILES=${CONFIG_FILES-"Makefile"}
- ! for file in .. ${CONFIG_FILES}; do if test "x$file" != x..; then
- ! srcdir=$top_srcdir
- # Remove last slash and all that follows it. Not all systems have dirname.
- ! dir=`echo $file|sed 's%/[^/][^/]*$%%'`
- ! if test "$dir" != "$file"; then
- ! test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
- ! test ! -d $dir && mkdir $dir
- fi
- ! echo creating $file
- ! rm -f $file
- ! echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file
- sed -e "
- ! $prsub
- $extrasub
- s%@CC@%$CC%g
- s%@CCLIBS@%$CCLIBS%g
- --- 1592,1641 ----
- PAGE='$PAGE'
- LIBS='$LIBS'
- srcdir='$srcdir'
- ! top_srcdir='$top_srcdir'
- prefix='$prefix'
- exec_prefix='$exec_prefix'
- ! DEFS='$DEFS'
- ! ac_prsub='$ac_prsub'
- ! ac_vpsub='$ac_vpsub'
- extrasub='$extrasub'
- EOF
- cat >> config.status <<\EOF
-
- ! ac_given_srcdir=$srcdir
-
- CONFIG_FILES=${CONFIG_FILES-"Makefile"}
- ! for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
- # Remove last slash and all that follows it. Not all systems have dirname.
- ! ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
- ! if test "$ac_dir" != "$ac_file"; then
- ! # The file is in a subdirectory.
- ! test ! -d "$ac_dir" && mkdir "$ac_dir"
- ! ac_dir_suffix="/$ac_dir"
- ! else
- ! ac_dir_suffix=
- fi
- !
- ! # A "../" for each directory in $ac_dir_suffix.
- ! ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
- ! case "$ac_given_srcdir" in
- ! .) srcdir=.; top_srcdir="$ac_dots." ;;
- ! /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
- ! *) # Relative path.
- ! srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- ! top_srcdir="$ac_dots$ac_given_srcdir" ;;
- ! esac
- !
- ! /bin/echo creating "$ac_file"
- ! rm -f "$ac_file"
- ! comment_str="Generated automatically from `/bin/echo $ac_file|sed 's|.*/||'`.in by configure."
- ! case "$ac_file" in
- ! *.c | *.h | *.C | *.cc | *.m ) /bin/echo "/* $comment_str */" > "$ac_file" ;;
- ! * ) /bin/echo "# $comment_str" > "$ac_file" ;;
- ! esac
- sed -e "
- ! $ac_prsub
- ! $ac_vpsub
- $extrasub
- s%@CC@%$CC%g
- s%@CCLIBS@%$CCLIBS%g
- ***************
- *** 1397,1409 ****
- s%@PAGE@%$PAGE%g
- s%@LIBS@%$LIBS%g
- s%@srcdir@%$srcdir%g
- s%@DEFS@%$DEFS%
- ! " $top_srcdir/${file}.in >> $file
- fi; done
-
-
- exit 0
- EOF
- chmod +x config.status
- ! ${CONFIG_SHELL-/bin/sh} config.status
-
- --- 1660,1675 ----
- s%@PAGE@%$PAGE%g
- s%@LIBS@%$LIBS%g
- s%@srcdir@%$srcdir%g
- + s%@top_srcdir@%$top_srcdir%g
- + s%@prefix@%$prefix%g
- + s%@exec_prefix@%$exec_prefix%g
- s%@DEFS@%$DEFS%
- ! " $ac_given_srcdir/${ac_file}.in >> $ac_file
- fi; done
-
-
- exit 0
- EOF
- chmod +x config.status
- ! test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} config.status
-
- diff -rc --new-file groff-1.09/devdvi/generate/Makefile /gnu/src/amiga/groff-1.09/devdvi/generate/Makefile
- *** groff-1.09/devdvi/generate/Makefile Sun Aug 9 16:06:04 1992
- --- /gnu/src/amiga/groff-1.09/devdvi/generate/Makefile Mon Feb 21 16:35:01 1994
- ***************
- *** 22,29 ****
- # in the parent directory of the directory containing this file.
-
- srcdir=.
- ! tfmdir=/usr/local/lib/groff-tfm
- ! gfdir=/usr/local/lib/groff-gf
-
- TFMTODIT=tfmtodit
- FONTS=R I B BI CW MI S EX H HI HB SA SB
- --- 22,29 ----
- # in the parent directory of the directory containing this file.
-
- srcdir=.
- ! tfmdir=/gnu/lib/groff-tfm
- ! gfdir=/gnu/lib/groff-gf
-
- TFMTODIT=tfmtodit
- FONTS=R I B BI CW MI S EX H HI HB SA SB
- diff -rc --new-file groff-1.09/devps/generate/Makefile /gnu/src/amiga/groff-1.09/devps/generate/Makefile
- *** groff-1.09/devps/generate/Makefile Thu Aug 27 16:03:52 1992
- --- /gnu/src/amiga/groff-1.09/devps/generate/Makefile Mon Feb 21 16:34:50 1994
- ***************
- *** 24,30 ****
- # Directory containing AFM files. Must not be current directory.
- # Either long names (eg Times-Roman.afm) or short names (eg timesr.afm)
- # may be used. See the afmname script.
- ! afmdir=/usr/local/afm
- srcdir=generate
-
- SPECIALFONTS=S
- --- 24,30 ----
- # Directory containing AFM files. Must not be current directory.
- # Either long names (eg Times-Roman.afm) or short names (eg timesr.afm)
- # may be used. See the afmname script.
- ! afmdir=/gnu/afm
- srcdir=generate
-
- SPECIALFONTS=S
- diff -rc --new-file groff-1.09/eqn/eqn.cc /gnu/src/amiga/groff-1.09/eqn/eqn.cc
- *** groff-1.09/eqn/eqn.cc Tue Apr 13 15:22:04 1993
- --- /gnu/src/amiga/groff-1.09/eqn/eqn.cc Mon Feb 21 18:22:41 1994
- ***************
- *** 1,10 ****
- ! #ifndef lint
- ! static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/90";
- ! #endif
- ! #define YYBYACC 1
- ! #line 20 "/u/jjc/groff/eqn/eqn.y"
- #include <stdio.h>
- ! #include <string.h>
- #include <stdlib.h>
-
- #include "lib.h"
- --- 1,72 ----
- !
- ! /* A Bison parser, made from /ISO/groff/groff-1.09-amiga/eqn/eqn.y with Bison version GNU Bison version 1.22
- ! */
- !
- ! #define YYBISON 1 /* Identify Bison output. */
- !
- ! #define OVER 258
- ! #define SMALLOVER 259
- ! #define SQRT 260
- ! #define SUB 261
- ! #define SUP 262
- ! #define LPILE 263
- ! #define RPILE 264
- ! #define CPILE 265
- ! #define PILE 266
- ! #define LEFT 267
- ! #define RIGHT 268
- ! #define TO 269
- ! #define FROM 270
- ! #define SIZE 271
- ! #define FONT 272
- ! #define ROMAN 273
- ! #define BOLD 274
- ! #define ITALIC 275
- ! #define FAT 276
- ! #define ACCENT 277
- ! #define BAR 278
- ! #define UNDER 279
- ! #define ABOVE 280
- ! #define TEXT 281
- ! #define QUOTED_TEXT 282
- ! #define FWD 283
- ! #define BACK 284
- ! #define DOWN 285
- ! #define UP 286
- ! #define MATRIX 287
- ! #define COL 288
- ! #define LCOL 289
- ! #define RCOL 290
- ! #define CCOL 291
- ! #define MARK 292
- ! #define LINEUP 293
- ! #define TYPE 294
- ! #define VCENTER 295
- ! #define PRIME 296
- ! #define SPLIT 297
- ! #define NOSPLIT 298
- ! #define UACCENT 299
- ! #define SPECIAL 300
- ! #define SPACE 301
- ! #define GFONT 302
- ! #define GSIZE 303
- ! #define DEFINE 304
- ! #define NDEFINE 305
- ! #define TDEFINE 306
- ! #define SDEFINE 307
- ! #define UNDEF 308
- ! #define IFDEF 309
- ! #define INCLUDE 310
- ! #define DELIM 311
- ! #define CHARTYPE 312
- ! #define SET 313
- ! #define GRFONT 314
- ! #define GBFONT 315
- !
- ! #line 19 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- !
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <stdlib.h>
-
- #include "lib.h"
- ***************
- *** 13,19 ****
- char *strsave(const char *);
- int yylex();
- void yyerror(const char *);
- ! #line 32 "/u/jjc/groff/eqn/eqn.y"
- typedef union {
- char *str;
- box *b;
- --- 75,82 ----
- char *strsave(const char *);
- int yylex();
- void yyerror(const char *);
- !
- ! #line 32 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- typedef union {
- char *str;
- box *b;
- ***************
- *** 22,1162 ****
- int n;
- column *col;
- } YYSTYPE;
- ! #line 26 "y.tab.c"
- ! #define OVER 257
- ! #define SMALLOVER 258
- ! #define SQRT 259
- ! #define SUB 260
- ! #define SUP 261
- ! #define LPILE 262
- ! #define RPILE 263
- ! #define CPILE 264
- ! #define PILE 265
- ! #define LEFT 266
- ! #define RIGHT 267
- ! #define TO 268
- ! #define FROM 269
- ! #define SIZE 270
- ! #define FONT 271
- ! #define ROMAN 272
- ! #define BOLD 273
- ! #define ITALIC 274
- ! #define FAT 275
- ! #define ACCENT 276
- ! #define BAR 277
- ! #define UNDER 278
- ! #define ABOVE 279
- ! #define TEXT 280
- ! #define QUOTED_TEXT 281
- ! #define FWD 282
- ! #define BACK 283
- ! #define DOWN 284
- ! #define UP 285
- ! #define MATRIX 286
- ! #define COL 287
- ! #define LCOL 288
- ! #define RCOL 289
- ! #define CCOL 290
- ! #define MARK 291
- ! #define LINEUP 292
- ! #define TYPE 293
- ! #define VCENTER 294
- ! #define PRIME 295
- ! #define SPLIT 296
- ! #define NOSPLIT 297
- ! #define UACCENT 298
- ! #define SPECIAL 299
- ! #define SPACE 300
- ! #define GFONT 301
- ! #define GSIZE 302
- ! #define DEFINE 303
- ! #define NDEFINE 304
- ! #define TDEFINE 305
- ! #define SDEFINE 306
- ! #define UNDEF 307
- ! #define IFDEF 308
- ! #define INCLUDE 309
- ! #define DELIM 310
- ! #define CHARTYPE 311
- ! #define SET 312
- ! #define GRFONT 313
- ! #define GBFONT 314
- ! #define YYERRCODE 256
- ! short yylhs[] = { -1,
- ! 0, 0, 6, 6, 1, 1, 1, 2, 2, 2,
- ! 2, 2, 3, 3, 3, 3, 4, 4, 7, 7,
- ! 7, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- ! 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- ! 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- ! 5, 5, 5, 5, 8, 11, 11, 12, 12, 13,
- ! 13, 16, 16, 15, 15, 14, 14, 14, 14, 9,
- ! 9, 10, 10, 10,
- };
- ! short yylen[] = { 2,
- ! 0, 1, 1, 2, 1, 2, 2, 1, 3, 3,
- ! 5, 5, 1, 2, 3, 3, 1, 3, 1, 3,
- ! 5, 1, 1, 2, 2, 1, 1, 1, 3, 2,
- ! 2, 2, 2, 4, 5, 3, 2, 2, 2, 3,
- ! 3, 2, 2, 2, 2, 3, 3, 3, 3, 3,
- ! 3, 3, 2, 3, 1, 1, 3, 3, 4, 1,
- ! 2, 1, 3, 3, 4, 2, 2, 2, 2, 1,
- ! 1, 1, 1, 1,
- };
- ! short yydefred[] = { 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 22, 23, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 26, 27, 28, 0,
- ! 0, 3, 5, 0, 13, 0, 0, 17, 14, 70,
- ! 71, 0, 0, 55, 31, 32, 33, 30, 73, 74,
- ! 72, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 6, 7, 0, 0, 24, 25, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 37, 38,
- ! 39, 0, 4, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 60, 0,
- ! 0, 29, 15, 16, 9, 0, 0, 20, 18, 40,
- ! 41, 0, 58, 0, 0, 0, 0, 66, 67, 68,
- ! 69, 34, 61, 0, 0, 0, 0, 59, 35, 0,
- ! 0, 0, 11, 12, 21, 0, 64, 0, 0, 65,
- };
- ! short yydgoto[] = { 31,
- ! 32, 33, 34, 35, 36, 84, 38, 43, 44, 52,
- ! 85, 45, 98, 99, 118, 131,
- };
- ! short yysindex[] = { 1488,
- ! 1527, -120, -120, -120, -120, -123, -249, -249, 1566, 1566,
- ! 1566, 1566, 0, 0, -249, -249, -249, -249, -115, 1488,
- ! 1488, -249, 1566, -256, -251, -249, 0, 0, 0, 1488,
- ! 0, 0, 0, -221, 0, -233, 1488, 0, 0, 0,
- ! 0, 1488, -85, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 1488, 1566, 1566, -195, -195, -195, -195, 1566, 1566,
- ! 1566, 1566, -272, 0, 0, 1566, -195, 0, 0, 1566,
- ! 1402, 1527, 1527, 1527, 1527, 1566, 1566, 1566, 0, 0,
- ! 0, 1566, 0, 1488, -113, 1488, 1444, -195, -195, -195,
- ! -195, -195, -195, -117, -117, -117, -117, -118, 0, -195,
- ! -195, 0, 0, 0, 0, -167, -189, 0, 0, 0,
- ! 0, 1488, 0, -106, -123, 1488, -83, 0, 0, 0,
- ! 0, 0, 0, 1527, 1527, 1566, 1488, 0, 0, 1488,
- ! -105, 1488, 0, 0, 0, 1488, 0, -104, 1488, 0,
- };
- ! short yyrindex[] = { 41,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 1, 0, 1220, 46, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 85, 128, 363, 406, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 449, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, -103, 0, 0, 185, 492, 727, 770,
- ! 813, 856, 1091, 0, 0, 0, 0, 0, 0, 1134,
- ! 1177, 0, 0, 0, 0, 42, 1220, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, -102, 0, 0, -101,
- ! 0, 0, 0, 0, 0, 0, 0, 0, -99, 0,
- };
- ! short yygindex[] = { 0,
- ! -7, -69, 3, -66, 458, 9, -26, 52, 27, -63,
- ! -32, 54, 0, -35, 2, -59,
- };
- ! #define YYTABLESIZE 1865
- ! short yytable[] = { 49,
- ! 8, 50, 42, 39, 105, 116, 122, 63, 37, 8,
- ! 109, 113, 64, 65, 94, 95, 96, 97, 128, 137,
- ! 140, 56, 57, 62, 68, 63, 76, 77, 69, 83,
- ! 40, 41, 51, 53, 54, 72, 73, 86, 71, 132,
- ! 1, 10, 78, 79, 80, 2, 74, 75, 66, 108,
- ! 10, 129, 70, 114, 133, 134, 46, 47, 48, 135,
- ! 87, 81, 123, 83, 82, 0, 59, 60, 61, 62,
- ! 76, 126, 138, 0, 103, 104, 83, 106, 0, 83,
- ! 78, 79, 80, 0, 42, 0, 78, 79, 80, 72,
- ! 73, 0, 0, 42, 8, 0, 119, 120, 121, 81,
- ! 124, 125, 82, 0, 0, 81, 0, 0, 82, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 83,
- ! 127, 0, 83, 8, 130, 8, 8, 43, 0, 0,
- ! 0, 83, 0, 0, 0, 10, 43, 0, 0, 0,
- ! 130, 51, 0, 0, 139, 117, 117, 117, 117, 0,
- ! 0, 0, 0, 0, 0, 0, 40, 41, 0, 40,
- ! 41, 0, 40, 41, 10, 112, 10, 10, 94, 95,
- ! 96, 97, 112, 136, 136, 56, 57, 62, 42, 63,
- ! 0, 0, 0, 0, 36, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 42, 0, 42,
- ! 42, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 43, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 43, 0, 43, 43, 0, 0, 0, 0, 0, 8,
- ! 8, 8, 8, 8, 8, 8, 8, 8, 0, 0,
- ! 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- ! 8, 8, 8, 8, 8, 8, 8, 0, 0, 0,
- ! 0, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- ! 10, 10, 10, 10, 10, 10, 10, 10, 10, 36,
- ! 0, 10, 10, 10, 10, 10, 10, 10, 10, 10,
- ! 10, 10, 10, 10, 10, 10, 10, 10, 0, 0,
- ! 0, 0, 10, 10, 10, 10, 10, 10, 10, 10,
- ! 10, 42, 42, 42, 42, 42, 42, 42, 42, 42,
- ! 42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
- ! 0, 0, 44, 42, 42, 42, 42, 42, 42, 42,
- ! 42, 44, 0, 0, 0, 42, 42, 42, 42, 0,
- ! 42, 42, 0, 42, 43, 43, 43, 43, 43, 43,
- ! 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
- ! 43, 43, 43, 0, 0, 45, 43, 43, 43, 43,
- ! 43, 43, 43, 43, 45, 0, 0, 0, 43, 43,
- ! 43, 43, 0, 43, 43, 0, 43, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 36, 36, 0, 36, 36, 0, 0, 53, 0,
- ! 0, 0, 36, 36, 0, 0, 44, 53, 0, 0,
- ! 36, 36, 36, 36, 0, 0, 55, 56, 57, 58,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 36,
- ! 67, 0, 36, 0, 0, 44, 0, 44, 44, 0,
- ! 0, 47, 0, 0, 0, 0, 0, 0, 0, 45,
- ! 47, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 88, 89, 0, 0, 0, 0, 90, 91, 92, 93,
- ! 0, 0, 0, 100, 0, 0, 0, 101, 45, 0,
- ! 45, 45, 0, 107, 0, 110, 0, 0, 0, 111,
- ! 0, 0, 53, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 53, 0, 53, 53, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 47, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 47, 0, 47, 47, 0, 44,
- ! 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
- ! 44, 44, 44, 44, 44, 44, 44, 44, 0, 0,
- ! 0, 44, 44, 44, 44, 44, 44, 44, 44, 0,
- ! 0, 0, 0, 44, 44, 44, 44, 0, 44, 44,
- ! 0, 44, 45, 45, 45, 45, 45, 45, 45, 45,
- ! 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- ! 45, 0, 0, 0, 45, 45, 45, 45, 45, 45,
- ! 45, 45, 0, 0, 0, 0, 45, 45, 45, 45,
- ! 0, 45, 45, 0, 45, 53, 53, 53, 53, 53,
- ! 53, 53, 53, 53, 53, 53, 53, 53, 53, 53,
- ! 53, 53, 53, 53, 0, 0, 46, 53, 53, 53,
- ! 53, 53, 53, 53, 53, 46, 0, 0, 0, 53,
- ! 53, 53, 53, 0, 53, 53, 0, 53, 47, 47,
- ! 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
- ! 47, 47, 47, 47, 47, 47, 47, 0, 0, 48,
- ! 47, 47, 47, 47, 47, 47, 47, 47, 48, 0,
- ! 0, 0, 47, 47, 47, 47, 0, 47, 47, 0,
- ! 47, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 49, 0, 0, 0, 0, 0, 0, 0,
- ! 46, 49, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 46,
- ! 0, 46, 46, 0, 0, 51, 0, 0, 0, 0,
- ! 0, 0, 0, 48, 51, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 48, 0, 48, 48, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 49, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 49, 0, 49, 49, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 51,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 51, 0,
- ! 51, 51, 0, 46, 46, 46, 46, 46, 46, 46,
- ! 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
- ! 46, 46, 0, 0, 0, 46, 46, 46, 46, 46,
- ! 46, 46, 46, 0, 0, 0, 0, 46, 46, 46,
- ! 46, 0, 46, 46, 0, 46, 48, 48, 48, 48,
- ! 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
- ! 48, 48, 48, 48, 48, 0, 0, 0, 48, 48,
- ! 48, 48, 48, 48, 48, 48, 0, 0, 0, 0,
- ! 48, 48, 48, 48, 0, 48, 48, 0, 48, 49,
- ! 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
- ! 49, 49, 49, 49, 49, 49, 49, 49, 0, 0,
- ! 50, 49, 49, 49, 49, 49, 49, 49, 49, 50,
- ! 0, 0, 0, 49, 49, 49, 49, 0, 49, 49,
- ! 0, 49, 51, 51, 51, 51, 51, 51, 51, 51,
- ! 51, 51, 51, 51, 51, 51, 51, 51, 51, 51,
- ! 51, 0, 0, 52, 51, 51, 51, 51, 51, 51,
- ! 51, 51, 52, 0, 0, 0, 51, 51, 51, 51,
- ! 0, 51, 51, 0, 51, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 54, 0, 0, 0,
- ! 0, 0, 0, 0, 50, 54, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 50, 0, 50, 50, 0, 0, 19,
- ! 0, 0, 0, 0, 0, 0, 0, 52, 19, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 52, 0, 52, 52,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 54, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 54,
- ! 0, 54, 54, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 19, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 19, 0, 19, 19, 0, 50, 50, 50,
- ! 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
- ! 50, 50, 50, 50, 50, 50, 0, 0, 0, 50,
- ! 50, 50, 50, 50, 50, 50, 50, 0, 0, 0,
- ! 0, 50, 50, 50, 50, 0, 50, 50, 0, 50,
- ! 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- ! 52, 52, 52, 52, 52, 52, 52, 52, 52, 0,
- ! 29, 0, 52, 52, 52, 52, 52, 52, 52, 52,
- ! 0, 0, 0, 0, 52, 52, 52, 52, 0, 52,
- ! 52, 0, 52, 54, 54, 54, 54, 54, 54, 54,
- ! 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- ! 54, 54, 29, 0, 0, 54, 54, 54, 54, 54,
- ! 54, 54, 54, 0, 0, 0, 0, 54, 54, 54,
- ! 54, 0, 54, 54, 0, 54, 19, 19, 19, 0,
- ! 0, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- ! 19, 19, 19, 19, 19, 27, 29, 0, 19, 19,
- ! 19, 19, 19, 19, 19, 19, 0, 0, 0, 0,
- ! 19, 19, 19, 19, 0, 19, 19, 0, 19, 0,
- ! 0, 0, 0, 0, 30, 0, 102, 28, 0, 0,
- ! 0, 0, 0, 0, 0, 29, 0, 27, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 30, 0, 0, 28,
- ! 0, 0, 0, 0, 29, 0, 0, 0, 0, 0,
- ! 0, 27, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 30, 0, 0, 28, 0, 0, 0, 0, 0, 0,
- ! 27, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 30,
- ! 0, 0, 28, 0, 0, 0, 0, 0, 0, 27,
- ! 1, 0, 0, 2, 3, 4, 5, 6, 0, 0,
- ! 0, 7, 8, 9, 10, 11, 12, 0, 0, 0,
- ! 0, 13, 14, 15, 16, 17, 18, 19, 30, 0,
- ! 0, 28, 20, 21, 22, 23, 0, 24, 25, 0,
- ! 26, 0, 1, 0, 0, 2, 3, 4, 5, 6,
- ! 115, 0, 0, 7, 8, 9, 10, 11, 12, 0,
- ! 0, 0, 0, 13, 14, 15, 16, 17, 18, 19,
- ! 0, 0, 0, 0, 20, 21, 22, 23, 0, 24,
- ! 25, 0, 26, 0, 0, 0, 1, 0, 0, 2,
- ! 3, 4, 5, 6, 0, 0, 0, 7, 8, 9,
- ! 10, 11, 12, 0, 0, 0, 0, 13, 14, 15,
- ! 16, 17, 18, 19, 0, 0, 0, 0, 20, 21,
- ! 22, 23, 0, 24, 25, 1, 26, 0, 2, 3,
- ! 4, 5, 6, 0, 0, 0, 7, 8, 9, 10,
- ! 11, 12, 0, 0, 0, 0, 13, 14, 15, 16,
- ! 17, 18, 19, 0, 0, 0, 0, 0, 0, 22,
- ! 23, 0, 24, 25, 0, 26, 0, 2, 3, 4,
- ! 5, 6, 0, 0, 0, 7, 8, 9, 10, 11,
- ! 12, 0, 0, 0, 0, 13, 14, 15, 16, 17,
- ! 18, 19, 0, 0, 0, 0, 0, 0, 22, 23,
- ! 0, 24, 25, 0, 26,
- };
- ! short yycheck[] = { 123,
- ! 0, 125, 123, 1, 74, 123, 125, 123, 0, 9,
- ! 77, 125, 20, 21, 287, 288, 289, 290, 125, 125,
- ! 125, 125, 125, 125, 281, 125, 260, 261, 280, 37,
- ! 280, 281, 6, 7, 8, 257, 258, 123, 30, 123,
- ! 0, 0, 276, 277, 278, 0, 268, 269, 22, 76,
- ! 9, 115, 26, 86, 124, 125, 3, 4, 5, 126,
- ! 52, 295, 98, 71, 298, -1, 15, 16, 17, 18,
- ! 260, 261, 132, -1, 72, 73, 84, 75, -1, 87,
- ! 276, 277, 278, -1, 0, -1, 276, 277, 278, 257,
- ! 258, -1, -1, 9, 94, -1, 95, 96, 97, 295,
- ! 268, 269, 298, -1, -1, 295, -1, -1, 298, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, 127,
- ! 112, -1, 130, 123, 116, 125, 126, 0, -1, -1,
- ! -1, 139, -1, -1, -1, 94, 9, -1, -1, -1,
- ! 132, 115, -1, -1, 136, 94, 95, 96, 97, -1,
- ! -1, -1, -1, -1, -1, -1, 280, 281, -1, 280,
- ! 281, -1, 280, 281, 123, 279, 125, 126, 287, 288,
- ! 289, 290, 279, 279, 279, 279, 279, 279, 94, 279,
- ! -1, -1, -1, -1, 0, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, 123, -1, 125,
- ! 126, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, 94, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! 123, -1, 125, 126, -1, -1, -1, -1, -1, 259,
- ! 260, 261, 262, 263, 264, 265, 266, 267, -1, -1,
- ! 270, 271, 272, 273, 274, 275, 276, 277, 278, 279,
- ! 280, 281, 282, 283, 284, 285, 286, -1, -1, -1,
- ! -1, 291, 292, 293, 294, 295, 296, 297, 298, 299,
- ! 259, 260, 261, 262, 263, 264, 265, 266, 267, 125,
- ! -1, 270, 271, 272, 273, 274, 275, 276, 277, 278,
- ! 279, 280, 281, 282, 283, 284, 285, 286, -1, -1,
- ! -1, -1, 291, 292, 293, 294, 295, 296, 297, 298,
- ! 299, 257, 258, 259, 260, 261, 262, 263, 264, 265,
- ! 266, 267, 268, 269, 270, 271, 272, 273, 274, 275,
- ! -1, -1, 0, 279, 280, 281, 282, 283, 284, 285,
- ! 286, 9, -1, -1, -1, 291, 292, 293, 294, -1,
- ! 296, 297, -1, 299, 257, 258, 259, 260, 261, 262,
- ! 263, 264, 265, 266, 267, 268, 269, 270, 271, 272,
- ! 273, 274, 275, -1, -1, 0, 279, 280, 281, 282,
- ! 283, 284, 285, 286, 9, -1, -1, -1, 291, 292,
- ! 293, 294, -1, 296, 297, -1, 299, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, 257, 258, -1, 260, 261, -1, -1, 0, -1,
- ! -1, -1, 268, 269, -1, -1, 94, 9, -1, -1,
- ! 276, 277, 278, 279, -1, -1, 9, 10, 11, 12,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, 295,
- ! 23, -1, 298, -1, -1, 123, -1, 125, 126, -1,
- ! -1, 0, -1, -1, -1, -1, -1, -1, -1, 94,
- ! 9, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! 53, 54, -1, -1, -1, -1, 59, 60, 61, 62,
- ! -1, -1, -1, 66, -1, -1, -1, 70, 123, -1,
- ! 125, 126, -1, 76, -1, 78, -1, -1, -1, 82,
- ! -1, -1, 94, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, 123, -1, 125, 126, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, 94, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, 123, -1, 125, 126, -1, 257,
- ! 258, 259, 260, 261, 262, 263, 264, 265, 266, 267,
- ! 268, 269, 270, 271, 272, 273, 274, 275, -1, -1,
- ! -1, 279, 280, 281, 282, 283, 284, 285, 286, -1,
- ! -1, -1, -1, 291, 292, 293, 294, -1, 296, 297,
- ! -1, 299, 257, 258, 259, 260, 261, 262, 263, 264,
- ! 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
- ! 275, -1, -1, -1, 279, 280, 281, 282, 283, 284,
- ! 285, 286, -1, -1, -1, -1, 291, 292, 293, 294,
- ! -1, 296, 297, -1, 299, 257, 258, 259, 260, 261,
- ! 262, 263, 264, 265, 266, 267, 268, 269, 270, 271,
- ! 272, 273, 274, 275, -1, -1, 0, 279, 280, 281,
- ! 282, 283, 284, 285, 286, 9, -1, -1, -1, 291,
- ! 292, 293, 294, -1, 296, 297, -1, 299, 257, 258,
- ! 259, 260, 261, 262, 263, 264, 265, 266, 267, 268,
- ! 269, 270, 271, 272, 273, 274, 275, -1, -1, 0,
- ! 279, 280, 281, 282, 283, 284, 285, 286, 9, -1,
- ! -1, -1, 291, 292, 293, 294, -1, 296, 297, -1,
- ! 299, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, 0, -1, -1, -1, -1, -1, -1, -1,
- ! 94, 9, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, 123,
- ! -1, 125, 126, -1, -1, 0, -1, -1, -1, -1,
- ! -1, -1, -1, 94, 9, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, 123, -1, 125, 126, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, 94, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, 123, -1, 125, 126, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, 94,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, 123, -1,
- ! 125, 126, -1, 257, 258, 259, 260, 261, 262, 263,
- ! 264, 265, 266, 267, 268, 269, 270, 271, 272, 273,
- ! 274, 275, -1, -1, -1, 279, 280, 281, 282, 283,
- ! 284, 285, 286, -1, -1, -1, -1, 291, 292, 293,
- ! 294, -1, 296, 297, -1, 299, 257, 258, 259, 260,
- ! 261, 262, 263, 264, 265, 266, 267, 268, 269, 270,
- ! 271, 272, 273, 274, 275, -1, -1, -1, 279, 280,
- ! 281, 282, 283, 284, 285, 286, -1, -1, -1, -1,
- ! 291, 292, 293, 294, -1, 296, 297, -1, 299, 257,
- ! 258, 259, 260, 261, 262, 263, 264, 265, 266, 267,
- ! 268, 269, 270, 271, 272, 273, 274, 275, -1, -1,
- ! 0, 279, 280, 281, 282, 283, 284, 285, 286, 9,
- ! -1, -1, -1, 291, 292, 293, 294, -1, 296, 297,
- ! -1, 299, 257, 258, 259, 260, 261, 262, 263, 264,
- ! 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
- ! 275, -1, -1, 0, 279, 280, 281, 282, 283, 284,
- ! 285, 286, 9, -1, -1, -1, 291, 292, 293, 294,
- ! -1, 296, 297, -1, 299, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, 0, -1, -1, -1,
- ! -1, -1, -1, -1, 94, 9, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, 123, -1, 125, 126, -1, -1, 0,
- ! -1, -1, -1, -1, -1, -1, -1, 94, 9, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, 123, -1, 125, 126,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! 94, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, 123,
- ! -1, 125, 126, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, 94, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, 123, -1, 125, 126, -1, 257, 258, 259,
- ! 260, 261, 262, 263, 264, 265, 266, 267, 268, 269,
- ! 270, 271, 272, 273, 274, 275, -1, -1, -1, 279,
- ! 280, 281, 282, 283, 284, 285, 286, -1, -1, -1,
- ! -1, 291, 292, 293, 294, -1, 296, 297, -1, 299,
- ! 257, 258, 259, 260, 261, 262, 263, 264, 265, 266,
- ! 267, 268, 269, 270, 271, 272, 273, 274, 275, -1,
- ! 9, -1, 279, 280, 281, 282, 283, 284, 285, 286,
- ! -1, -1, -1, -1, 291, 292, 293, 294, -1, 296,
- ! 297, -1, 299, 257, 258, 259, 260, 261, 262, 263,
- ! 264, 265, 266, 267, 268, 269, 270, 271, 272, 273,
- ! 274, 275, 9, -1, -1, 279, 280, 281, 282, 283,
- ! 284, 285, 286, -1, -1, -1, -1, 291, 292, 293,
- ! 294, -1, 296, 297, -1, 299, 257, 258, 259, -1,
- ! -1, 262, 263, 264, 265, 266, 267, 268, 269, 270,
- ! 271, 272, 273, 274, 275, 94, 9, -1, 279, 280,
- ! 281, 282, 283, 284, 285, 286, -1, -1, -1, -1,
- ! 291, 292, 293, 294, -1, 296, 297, -1, 299, -1,
- ! -1, -1, -1, -1, 123, -1, 125, 126, -1, -1,
- ! -1, -1, -1, -1, -1, 9, -1, 94, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, 123, -1, -1, 126,
- ! -1, -1, -1, -1, 9, -1, -1, -1, -1, -1,
- ! -1, 94, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! 123, -1, -1, 126, -1, -1, -1, -1, -1, -1,
- ! 94, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, -1, 123,
- ! -1, -1, 126, -1, -1, -1, -1, -1, -1, 94,
- ! 259, -1, -1, 262, 263, 264, 265, 266, -1, -1,
- ! -1, 270, 271, 272, 273, 274, 275, -1, -1, -1,
- ! -1, 280, 281, 282, 283, 284, 285, 286, 123, -1,
- ! -1, 126, 291, 292, 293, 294, -1, 296, 297, -1,
- ! 299, -1, 259, -1, -1, 262, 263, 264, 265, 266,
- ! 267, -1, -1, 270, 271, 272, 273, 274, 275, -1,
- ! -1, -1, -1, 280, 281, 282, 283, 284, 285, 286,
- ! -1, -1, -1, -1, 291, 292, 293, 294, -1, 296,
- ! 297, -1, 299, -1, -1, -1, 259, -1, -1, 262,
- ! 263, 264, 265, 266, -1, -1, -1, 270, 271, 272,
- ! 273, 274, 275, -1, -1, -1, -1, 280, 281, 282,
- ! 283, 284, 285, 286, -1, -1, -1, -1, 291, 292,
- ! 293, 294, -1, 296, 297, 259, 299, -1, 262, 263,
- ! 264, 265, 266, -1, -1, -1, 270, 271, 272, 273,
- ! 274, 275, -1, -1, -1, -1, 280, 281, 282, 283,
- ! 284, 285, 286, -1, -1, -1, -1, -1, -1, 293,
- ! 294, -1, 296, 297, -1, 299, -1, 262, 263, 264,
- ! 265, 266, -1, -1, -1, 270, 271, 272, 273, 274,
- ! 275, -1, -1, -1, -1, 280, 281, 282, 283, 284,
- ! 285, 286, -1, -1, -1, -1, -1, -1, 293, 294,
- ! -1, 296, 297, -1, 299,
- };
- ! #define YYFINAL 31
- ! #ifndef YYDEBUG
- ! #define YYDEBUG 0
- ! #endif
- ! #define YYMAXTOKEN 314
- ! #if YYDEBUG
- ! char *yyname[] = {
- ! "end-of-file",0,0,0,0,0,0,0,0,"'\\t'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- ! 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- ! 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"'^'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- ! 0,0,0,0,0,0,0,0,0,0,0,0,0,0,"'{'",0,"'}'","'~'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- ! 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- ! 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- ! 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"OVER",
- ! "SMALLOVER","SQRT","SUB","SUP","LPILE","RPILE","CPILE","PILE","LEFT","RIGHT",
- ! "TO","FROM","SIZE","FONT","ROMAN","BOLD","ITALIC","FAT","ACCENT","BAR","UNDER",
- ! "ABOVE","TEXT","QUOTED_TEXT","FWD","BACK","DOWN","UP","MATRIX","COL","LCOL",
- ! "RCOL","CCOL","MARK","LINEUP","TYPE","VCENTER","PRIME","SPLIT","NOSPLIT",
- ! "UACCENT","SPECIAL","SPACE","GFONT","GSIZE","DEFINE","NDEFINE","TDEFINE",
- ! "SDEFINE","UNDEF","IFDEF","INCLUDE","DELIM","CHARTYPE","SET","GRFONT","GBFONT",
- };
- ! char *yyrule[] = {
- ! "$accept : top",
- ! "top :",
- ! "top : equation",
- ! "equation : mark",
- ! "equation : equation mark",
- ! "mark : from_to",
- ! "mark : MARK mark",
- ! "mark : LINEUP mark",
- ! "from_to : sqrt_over",
- ! "from_to : sqrt_over TO from_to",
- ! "from_to : sqrt_over FROM sqrt_over",
- ! "from_to : sqrt_over FROM sqrt_over TO from_to",
- ! "from_to : sqrt_over FROM sqrt_over FROM from_to",
- ! "sqrt_over : script",
- ! "sqrt_over : SQRT sqrt_over",
- ! "sqrt_over : sqrt_over OVER sqrt_over",
- ! "sqrt_over : sqrt_over SMALLOVER sqrt_over",
- ! "script : nonsup",
- ! "script : simple SUP script",
- ! "nonsup : simple",
- ! "nonsup : simple SUB nonsup",
- ! "nonsup : simple SUB simple SUP script",
- ! "simple : TEXT",
- ! "simple : QUOTED_TEXT",
- ! "simple : SPLIT QUOTED_TEXT",
- ! "simple : NOSPLIT TEXT",
- ! "simple : '^'",
- ! "simple : '~'",
- ! "simple : '\\t'",
- ! "simple : '{' equation '}'",
- ! "simple : PILE pile_arg",
- ! "simple : LPILE pile_arg",
- ! "simple : RPILE pile_arg",
- ! "simple : CPILE pile_arg",
- ! "simple : MATRIX '{' column_list '}'",
- ! "simple : LEFT delim equation RIGHT delim",
- ! "simple : LEFT delim equation",
- ! "simple : simple BAR",
- ! "simple : simple UNDER",
- ! "simple : simple PRIME",
- ! "simple : simple ACCENT simple",
- ! "simple : simple UACCENT simple",
- ! "simple : ROMAN simple",
- ! "simple : BOLD simple",
- ! "simple : ITALIC simple",
- ! "simple : FAT simple",
- ! "simple : FONT text simple",
- ! "simple : SIZE text simple",
- ! "simple : FWD number simple",
- ! "simple : BACK number simple",
- ! "simple : UP number simple",
- ! "simple : DOWN number simple",
- ! "simple : TYPE text simple",
- ! "simple : VCENTER simple",
- ! "simple : SPECIAL text simple",
- ! "number : text",
- ! "pile_element_list : equation",
- ! "pile_element_list : pile_element_list ABOVE equation",
- ! "pile_arg : '{' pile_element_list '}'",
- ! "pile_arg : number '{' pile_element_list '}'",
- ! "column_list : column",
- ! "column_list : column_list column",
- ! "column_element_list : equation",
- ! "column_element_list : column_element_list ABOVE equation",
- ! "column_arg : '{' column_element_list '}'",
- ! "column_arg : number '{' column_element_list '}'",
- ! "column : COL column_arg",
- ! "column : LCOL column_arg",
- ! "column : RCOL column_arg",
- ! "column : CCOL column_arg",
- ! "text : TEXT",
- ! "text : QUOTED_TEXT",
- ! "delim : text",
- ! "delim : '{'",
- ! "delim : '}'",
- };
- #endif
- ! #define yyclearin (yychar=(-1))
- ! #define yyerrok (yyerrflag=0)
- ! #ifdef YYSTACKSIZE
- #ifndef YYMAXDEPTH
- ! #define YYMAXDEPTH YYSTACKSIZE
- #endif
- ! #else
- ! #ifdef YYMAXDEPTH
- ! #define YYSTACKSIZE YYMAXDEPTH
- ! #else
- ! #define YYSTACKSIZE 500
- ! #define YYMAXDEPTH 500
- #endif
- #endif
- ! int yydebug;
- ! int yynerrs;
- ! int yyerrflag;
- ! int yychar;
- ! short *yyssp;
- ! YYSTYPE *yyvsp;
- ! YYSTYPE yyval;
- ! YYSTYPE yylval;
- ! short yyss[YYSTACKSIZE];
- ! YYSTYPE yyvs[YYSTACKSIZE];
- ! #define yystacksize YYSTACKSIZE
- ! #define YYABORT goto yyabort
- ! #define YYACCEPT goto yyaccept
- ! #define YYERROR goto yyerrlab
- int
- yyparse()
- {
- ! register int yym, yyn, yystate;
- ! #if YYDEBUG
- ! register char *yys;
- ! extern char *getenv();
-
- ! if (yys = getenv("YYDEBUG"))
- {
- ! yyn = *yys;
- ! if (yyn >= '0' && yyn <= '9')
- ! yydebug = yyn - '0';
- }
- #endif
-
- ! yynerrs = 0;
- ! yyerrflag = 0;
- ! yychar = (-1);
- !
- ! yyssp = yyss;
- ! yyvsp = yyvs;
- ! *yyssp = yystate = 0;
- !
- ! yyloop:
- ! if (yyn = yydefred[yystate]) goto yyreduce;
- ! if (yychar < 0)
- {
- ! if ((yychar = yylex()) < 0) yychar = 0;
- ! #if YYDEBUG
- ! if (yydebug)
- ! {
- ! yys = 0;
- ! if (yychar <= YYMAXTOKEN) yys = yyname[yychar];
- ! if (!yys) yys = "illegal-symbol";
- ! printf("yydebug: state %d, reading %d (%s)\n", yystate,
- ! yychar, yys);
- ! }
- #endif
- }
- ! if ((yyn = yysindex[yystate]) && (yyn += yychar) >= 0 &&
- ! yyn <= YYTABLESIZE && yycheck[yyn] == yychar)
- {
- ! #if YYDEBUG
- ! if (yydebug)
- ! printf("yydebug: state %d, shifting to state %d\n",
- ! yystate, yytable[yyn]);
- ! #endif
- ! if (yyssp >= yyss + yystacksize - 1)
- ! {
- ! goto yyoverflow;
- ! }
- ! *++yyssp = yystate = yytable[yyn];
- ! *++yyvsp = yylval;
- ! yychar = (-1);
- ! if (yyerrflag > 0) --yyerrflag;
- ! goto yyloop;
- }
- ! if ((yyn = yyrindex[yystate]) && (yyn += yychar) >= 0 &&
- ! yyn <= YYTABLESIZE && yycheck[yyn] == yychar)
- {
- ! yyn = yytable[yyn];
- ! goto yyreduce;
- ! }
- ! if (yyerrflag) goto yyinrecovery;
- ! #ifdef lint
- ! goto yynewerror;
- ! #endif
- ! yynewerror:
- ! yyerror("syntax error");
- ! #ifdef lint
- ! goto yyerrlab;
- #endif
- - yyerrlab:
- - ++yynerrs;
- - yyinrecovery:
- - if (yyerrflag < 3)
- - {
- - yyerrflag = 3;
- - for (;;)
- - {
- - if ((yyn = yysindex[*yyssp]) && (yyn += YYERRCODE) >= 0 &&
- - yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE)
- - {
- - #if YYDEBUG
- - if (yydebug)
- - printf("yydebug: state %d, error recovery shifting\
- - to state %d\n", *yyssp, yytable[yyn]);
- - #endif
- - if (yyssp >= yyss + yystacksize - 1)
- - {
- - goto yyoverflow;
- - }
- - *++yyssp = yystate = yytable[yyn];
- - *++yyvsp = yylval;
- - goto yyloop;
- - }
- - else
- - {
- - #if YYDEBUG
- - if (yydebug)
- - printf("yydebug: error recovery discarding state %d\n",
- - *yyssp);
- - #endif
- - if (yyssp <= yyss) goto yyabort;
- - --yyssp;
- - --yyvsp;
- - }
- - }
- }
- ! else
- {
- ! if (yychar == 0) goto yyabort;
- ! #if YYDEBUG
- ! if (yydebug)
- ! {
- ! yys = 0;
- ! if (yychar <= YYMAXTOKEN) yys = yyname[yychar];
- ! if (!yys) yys = "illegal-symbol";
- ! printf("yydebug: state %d, error recovery discards token %d (%s)\n",
- ! yystate, yychar, yys);
- ! }
- ! #endif
- ! yychar = (-1);
- ! goto yyloop;
- }
- yyreduce:
- ! #if YYDEBUG
- ! if (yydebug)
- ! printf("yydebug: state %d, reducing by rule %d (%s)\n",
- ! yystate, yyn, yyrule[yyn]);
- ! #endif
- ! yym = yylen[yyn];
- ! yyval = yyvsp[1-yym];
- ! switch (yyn)
- {
- case 2:
- ! #line 126 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].b->top_level(); non_empty_flag = 1; }
- ! break;
- case 3:
- ! #line 131 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; }
- ! break;
- case 4:
- ! #line 133 "/u/jjc/groff/eqn/eqn.y"
- {
- list_box *lb = yyvsp[-1].b->to_list_box();
- if (!lb)
- lb = new list_box(yyvsp[-1].b);
- lb->append(yyvsp[0].b);
- yyval.b = lb;
- ! }
- ! break;
- case 5:
- ! #line 144 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; }
- ! break;
- case 6:
- ! #line 146 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_mark_box(yyvsp[0].b); }
- ! break;
- case 7:
- ! #line 148 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_lineup_box(yyvsp[0].b); }
- ! break;
- case 8:
- ! #line 153 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; }
- ! break;
- case 9:
- ! #line 155 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_limit_box(yyvsp[-2].b, 0, yyvsp[0].b); }
- ! break;
- case 10:
- ! #line 157 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_limit_box(yyvsp[-2].b, yyvsp[0].b, 0); }
- ! break;
- case 11:
- ! #line 159 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_limit_box(yyvsp[-4].b, yyvsp[-2].b, yyvsp[0].b); }
- ! break;
- case 12:
- ! #line 161 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_limit_box(yyvsp[-4].b, make_limit_box(yyvsp[-2].b, yyvsp[0].b, 0), 0); }
- ! break;
- case 13:
- ! #line 166 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; }
- ! break;
- case 14:
- ! #line 168 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_sqrt_box(yyvsp[0].b); }
- ! break;
- case 15:
- ! #line 170 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_over_box(yyvsp[-2].b, yyvsp[0].b); }
- ! break;
- case 16:
- ! #line 172 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_small_over_box(yyvsp[-2].b, yyvsp[0].b); }
- ! break;
- case 17:
- ! #line 177 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; }
- ! break;
- case 18:
- ! #line 179 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_script_box(yyvsp[-2].b, 0, yyvsp[0].b); }
- ! break;
- case 19:
- ! #line 184 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; }
- ! break;
- case 20:
- ! #line 186 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_script_box(yyvsp[-2].b, yyvsp[0].b, 0); }
- ! break;
- case 21:
- ! #line 188 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_script_box(yyvsp[-4].b, yyvsp[-2].b, yyvsp[0].b); }
- ! break;
- case 22:
- ! #line 193 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = split_text(yyvsp[0].str); }
- ! break;
- case 23:
- ! #line 195 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new quoted_text_box(yyvsp[0].str); }
- ! break;
- case 24:
- ! #line 197 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = split_text(yyvsp[0].str); }
- ! break;
- case 25:
- ! #line 199 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new quoted_text_box(yyvsp[0].str); }
- ! break;
- case 26:
- ! #line 201 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new half_space_box; }
- ! break;
- case 27:
- ! #line 203 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new space_box; }
- ! break;
- case 28:
- ! #line 205 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new tab_box; }
- ! break;
- case 29:
- ! #line 207 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = yyvsp[-1].b; }
- ! break;
- case 30:
- ! #line 209 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].pb->set_alignment(CENTER_ALIGN); yyval.b = yyvsp[0].pb; }
- ! break;
- case 31:
- ! #line 211 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].pb->set_alignment(LEFT_ALIGN); yyval.b = yyvsp[0].pb; }
- ! break;
- case 32:
- ! #line 213 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].pb->set_alignment(RIGHT_ALIGN); yyval.b = yyvsp[0].pb; }
- ! break;
- case 33:
- ! #line 215 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].pb->set_alignment(CENTER_ALIGN); yyval.b = yyvsp[0].pb; }
- ! break;
- case 34:
- ! #line 217 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = yyvsp[-1].mb; }
- ! break;
- case 35:
- ! #line 219 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_delim_box(yyvsp[-3].str, yyvsp[-2].b, yyvsp[0].str); }
- ! break;
- case 36:
- ! #line 221 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_delim_box(yyvsp[-1].str, yyvsp[0].b, 0); }
- ! break;
- case 37:
- ! #line 223 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_overline_box(yyvsp[-1].b); }
- ! break;
- case 38:
- ! #line 225 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_underline_box(yyvsp[-1].b); }
- ! break;
- case 39:
- ! #line 227 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_prime_box(yyvsp[-1].b); }
- ! break;
- case 40:
- ! #line 229 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_accent_box(yyvsp[-2].b, yyvsp[0].b); }
- ! break;
- case 41:
- ! #line 231 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_uaccent_box(yyvsp[-2].b, yyvsp[0].b); }
- ! break;
- case 42:
- ! #line 233 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new font_box(strsave(get_grfont()), yyvsp[0].b); }
- ! break;
- case 43:
- ! #line 235 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new font_box(strsave(get_gbfont()), yyvsp[0].b); }
- ! break;
- case 44:
- ! #line 237 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new font_box(strsave(get_gfont()), yyvsp[0].b); }
- ! break;
- case 45:
- ! #line 239 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new fat_box(yyvsp[0].b); }
- ! break;
- case 46:
- ! #line 241 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new font_box(yyvsp[-1].str, yyvsp[0].b); }
- ! break;
- case 47:
- ! #line 243 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new size_box(yyvsp[-1].str, yyvsp[0].b); }
- ! break;
- case 48:
- ! #line 245 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new hmotion_box(yyvsp[-1].n, yyvsp[0].b); }
- ! break;
- case 49:
- ! #line 247 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new hmotion_box(-yyvsp[-1].n, yyvsp[0].b); }
- ! break;
- case 50:
- ! #line 249 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new vmotion_box(yyvsp[-1].n, yyvsp[0].b); }
- ! break;
- case 51:
- ! #line 251 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new vmotion_box(-yyvsp[-1].n, yyvsp[0].b); }
- ! break;
- case 52:
- ! #line 253 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].b->set_spacing_type(yyvsp[-1].str); yyval.b = yyvsp[0].b; }
- ! break;
- case 53:
- ! #line 255 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = new vcenter_box(yyvsp[0].b); }
- ! break;
- case 54:
- ! #line 257 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.b = make_special_box(yyvsp[-1].str, yyvsp[0].b); }
- ! break;
- case 55:
- ! #line 262 "/u/jjc/groff/eqn/eqn.y"
- {
- int n;
- if (sscanf(yyvsp[0].str, "%d", &n) == 1)
- yyval.n = n;
- a_delete yyvsp[0].str;
- ! }
- ! break;
- case 56:
- ! #line 272 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.pb = new pile_box(yyvsp[0].b); }
- ! break;
- case 57:
- ! #line 274 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[-2].pb->append(yyvsp[0].b); yyval.pb = yyvsp[-2].pb; }
- ! break;
- case 58:
- ! #line 279 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.pb = yyvsp[-1].pb; }
- ! break;
- case 59:
- ! #line 281 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[-1].pb->set_space(yyvsp[-3].n); yyval.pb = yyvsp[-1].pb; }
- ! break;
- case 60:
- ! #line 286 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.mb = new matrix_box(yyvsp[0].col); }
- ! break;
- case 61:
- ! #line 288 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[-1].mb->append(yyvsp[0].col); yyval.mb = yyvsp[-1].mb; }
- ! break;
- case 62:
- ! #line 293 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.col = new column(yyvsp[0].b); }
- ! break;
- case 63:
- ! #line 295 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[-2].col->append(yyvsp[0].b); yyval.col = yyvsp[-2].col; }
- ! break;
- case 64:
- ! #line 300 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.col = yyvsp[-1].col; }
- ! break;
- case 65:
- ! #line 302 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[-1].col->set_space(yyvsp[-3].n); yyval.col = yyvsp[-1].col; }
- ! break;
- case 66:
- ! #line 307 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].col->set_alignment(CENTER_ALIGN); yyval.col = yyvsp[0].col; }
- ! break;
- case 67:
- ! #line 309 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].col->set_alignment(LEFT_ALIGN); yyval.col = yyvsp[0].col; }
- ! break;
- case 68:
- ! #line 311 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].col->set_alignment(RIGHT_ALIGN); yyval.col = yyvsp[0].col; }
- ! break;
- case 69:
- ! #line 313 "/u/jjc/groff/eqn/eqn.y"
- ! { yyvsp[0].col->set_alignment(CENTER_ALIGN); yyval.col = yyvsp[0].col; }
- ! break;
- case 70:
- ! #line 317 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.str = yyvsp[0].str; }
- ! break;
- case 71:
- ! #line 319 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.str = yyvsp[0].str; }
- ! break;
- case 72:
- ! #line 324 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.str = yyvsp[0].str; }
- ! break;
- case 73:
- ! #line 326 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.str = strsave("{"); }
- ! break;
- case 74:
- ! #line 328 "/u/jjc/groff/eqn/eqn.y"
- ! { yyval.str = strsave("}"); }
- ! break;
- ! #line 1107 "y.tab.c"
- }
- ! yyssp -= yym;
- ! yystate = *yyssp;
- ! yyvsp -= yym;
- ! yym = yylhs[yyn];
- ! if (yystate == 0 && yym == 0)
- {
- ! #if YYDEBUG
- ! if (yydebug)
- ! printf("yydebug: after reduction, shifting from state 0 to\
- ! state %d\n", YYFINAL);
- ! #endif
- ! yystate = YYFINAL;
- ! *++yyssp = YYFINAL;
- ! *++yyvsp = yyval;
- ! if (yychar < 0)
- ! {
- ! if ((yychar = yylex()) < 0) yychar = 0;
- ! #if YYDEBUG
- ! if (yydebug)
- ! {
- ! yys = 0;
- ! if (yychar <= YYMAXTOKEN) yys = yyname[yychar];
- ! if (!yys) yys = "illegal-symbol";
- ! printf("yydebug: state %d, reading %d (%s)\n",
- ! YYFINAL, yychar, yys);
- ! }
- ! #endif
- ! }
- ! if (yychar == 0) goto yyaccept;
- ! goto yyloop;
- }
- - if ((yyn = yygindex[yym]) && (yyn += yystate) >= 0 &&
- - yyn <= YYTABLESIZE && yycheck[yyn] == yystate)
- - yystate = yytable[yyn];
- - else
- - yystate = yydgoto[yym];
- - #if YYDEBUG
- - if (yydebug)
- - printf("yydebug: after reduction, shifting from state %d \
- - to state %d\n", *yyssp, yystate);
- #endif
- ! if (yyssp >= yyss + yystacksize - 1)
- {
- ! goto yyoverflow;
- }
- ! *++yyssp = yystate;
- ! *++yyvsp = yyval;
- ! goto yyloop;
- ! yyoverflow:
- ! yyerror("yacc stack overflow");
- ! yyabort:
- ! return (1);
- ! yyaccept:
- ! return (0);
- }
- --- 85,1342 ----
- int n;
- column *col;
- } YYSTYPE;
- !
- ! #ifndef YYLTYPE
- ! typedef
- ! struct yyltype
- ! {
- ! int timestamp;
- ! int first_line;
- ! int first_column;
- ! int last_line;
- ! int last_column;
- ! char *text;
- ! }
- ! yyltype;
- !
- ! #define YYLTYPE yyltype
- ! #endif
- !
- ! #include <stdio.h>
- !
- ! #ifndef __cplusplus
- ! #ifndef __STDC__
- ! #define const
- ! #endif
- ! #endif
- !
- !
- !
- ! #define YYFINAL 142
- ! #define YYFLAG -32768
- ! #define YYNTBASE 66
- !
- ! #define YYTRANSLATE(x) ((unsigned)(x) <= 315 ? yytranslate[x] : 83)
- !
- ! static const char yytranslate[] = { 0,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 63, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 61, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 64, 2, 65, 62, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- ! 2, 2, 2, 2, 2, 1, 2, 3, 4, 5,
- ! 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- ! 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
- ! 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
- ! 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
- ! 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
- ! 56, 57, 58, 59, 60
- };
- !
- ! #if YYDEBUG != 0
- ! static const short yyprhs[] = { 0,
- ! 0, 1, 3, 5, 8, 10, 13, 16, 18, 22,
- ! 26, 32, 38, 40, 43, 47, 51, 53, 57, 59,
- ! 63, 69, 71, 73, 76, 79, 81, 83, 85, 89,
- ! 92, 95, 98, 101, 106, 112, 116, 119, 122, 125,
- ! 129, 133, 136, 139, 142, 145, 149, 153, 157, 161,
- ! 165, 169, 173, 176, 180, 182, 184, 188, 192, 197,
- ! 199, 202, 204, 208, 212, 217, 220, 223, 226, 229,
- ! 231, 233, 235, 237
- };
- !
- ! static const short yyrhs[] = { -1,
- ! 67, 0, 68, 0, 67, 68, 0, 69, 0, 37,
- ! 68, 0, 38, 68, 0, 70, 0, 70, 14, 69,
- ! 0, 70, 15, 70, 0, 70, 15, 70, 14, 69,
- ! 0, 70, 15, 70, 15, 69, 0, 71, 0, 5,
- ! 70, 0, 70, 3, 70, 0, 70, 4, 70, 0,
- ! 72, 0, 73, 7, 71, 0, 73, 0, 73, 6,
- ! 72, 0, 73, 6, 73, 7, 71, 0, 26, 0,
- ! 27, 0, 42, 27, 0, 43, 26, 0, 61, 0,
- ! 62, 0, 63, 0, 64, 67, 65, 0, 11, 76,
- ! 0, 8, 76, 0, 9, 76, 0, 10, 76, 0,
- ! 32, 64, 77, 65, 0, 12, 82, 67, 13, 82,
- ! 0, 12, 82, 67, 0, 73, 23, 0, 73, 24,
- ! 0, 73, 41, 0, 73, 22, 73, 0, 73, 44,
- ! 73, 0, 18, 73, 0, 19, 73, 0, 20, 73,
- ! 0, 21, 73, 0, 17, 81, 73, 0, 16, 81,
- ! 73, 0, 28, 74, 73, 0, 29, 74, 73, 0,
- ! 31, 74, 73, 0, 30, 74, 73, 0, 39, 81,
- ! 73, 0, 40, 73, 0, 45, 81, 73, 0, 81,
- ! 0, 67, 0, 75, 25, 67, 0, 64, 75, 65,
- ! 0, 74, 64, 75, 65, 0, 80, 0, 77, 80,
- ! 0, 67, 0, 78, 25, 67, 0, 64, 78, 65,
- ! 0, 74, 64, 78, 65, 0, 33, 79, 0, 34,
- ! 79, 0, 35, 79, 0, 36, 79, 0, 26, 0,
- ! 27, 0, 81, 0, 64, 0, 65, 0
- };
- !
- ! #endif
- !
- ! #if YYDEBUG != 0
- ! static const short yyrline[] = { 0,
- ! 123, 125, 129, 132, 142, 145, 147, 151, 154, 156,
- ! 158, 160, 164, 167, 169, 171, 175, 178, 182, 185,
- ! 187, 191, 194, 196, 198, 200, 202, 204, 206, 208,
- ! 210, 212, 214, 216, 218, 220, 222, 224, 226, 228,
- ! 230, 232, 234, 236, 238, 240, 242, 244, 246, 248,
- ! 250, 252, 254, 256, 260, 270, 273, 277, 280, 284,
- ! 287, 291, 294, 298, 301, 305, 308, 310, 312, 316,
- ! 318, 322, 325, 327
- };
- !
- ! static const char * const yytname[] = { "$","error","$illegal.","OVER","SMALLOVER",
- ! "SQRT","SUB","SUP","LPILE","RPILE","CPILE","PILE","LEFT","RIGHT","TO","FROM",
- ! "SIZE","FONT","ROMAN","BOLD","ITALIC","FAT","ACCENT","BAR","UNDER","ABOVE","TEXT",
- ! "QUOTED_TEXT","FWD","BACK","DOWN","UP","MATRIX","COL","LCOL","RCOL","CCOL","MARK",
- ! "LINEUP","TYPE","VCENTER","PRIME","SPLIT","NOSPLIT","UACCENT","SPECIAL","SPACE",
- ! "GFONT","GSIZE","DEFINE","NDEFINE","TDEFINE","SDEFINE","UNDEF","IFDEF","INCLUDE",
- ! "DELIM","CHARTYPE","SET","GRFONT","GBFONT","'^'","'~'","'\\t'","'{'","'}'","top",
- ! "equation","mark","from_to","sqrt_over","script","nonsup","simple","number",
- ! "pile_element_list","pile_arg","column_list","column_element_list","column_arg",
- ! "column","text","delim",""
- };
- ! #endif
- !
- ! static const short yyr1[] = { 0,
- ! 66, 66, 67, 67, 68, 68, 68, 69, 69, 69,
- ! 69, 69, 70, 70, 70, 70, 71, 71, 72, 72,
- ! 72, 73, 73, 73, 73, 73, 73, 73, 73, 73,
- ! 73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
- ! 73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
- ! 73, 73, 73, 73, 74, 75, 75, 76, 76, 77,
- ! 77, 78, 78, 79, 79, 80, 80, 80, 80, 81,
- ! 81, 82, 82, 82
- ! };
- !
- ! static const short yyr2[] = { 0,
- ! 0, 1, 1, 2, 1, 2, 2, 1, 3, 3,
- ! 5, 5, 1, 2, 3, 3, 1, 3, 1, 3,
- ! 5, 1, 1, 2, 2, 1, 1, 1, 3, 2,
- ! 2, 2, 2, 4, 5, 3, 2, 2, 2, 3,
- ! 3, 2, 2, 2, 2, 3, 3, 3, 3, 3,
- ! 3, 3, 2, 3, 1, 1, 3, 3, 4, 1,
- ! 2, 1, 3, 3, 4, 2, 2, 2, 2, 1,
- ! 1, 1, 1, 1
- };
- !
- ! static const short yydefact[] = { 1,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 22, 23, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 26, 27, 28, 0,
- ! 2, 3, 5, 8, 13, 17, 19, 14, 70, 71,
- ! 0, 0, 31, 55, 32, 33, 30, 73, 74, 72,
- ! 0, 0, 0, 42, 43, 44, 45, 0, 0, 0,
- ! 0, 0, 6, 7, 0, 53, 24, 25, 0, 0,
- ! 4, 0, 0, 0, 0, 0, 0, 0, 37, 38,
- ! 39, 0, 56, 0, 0, 36, 47, 46, 48, 49,
- ! 51, 50, 0, 0, 0, 0, 0, 60, 52, 54,
- ! 29, 15, 16, 9, 10, 20, 19, 18, 40, 41,
- ! 0, 58, 0, 0, 0, 0, 66, 67, 68, 69,
- ! 34, 61, 0, 0, 0, 57, 59, 35, 62, 0,
- ! 0, 11, 12, 21, 0, 64, 0, 63, 65, 0,
- ! 0, 0
- };
- !
- ! static const short yydefgoto[] = { 140,
- ! 83, 32, 33, 34, 35, 36, 37, 42, 84, 43,
- ! 97, 130, 117, 98, 44, 51
- ! };
- !
- ! static const short yypact[] = { 228,
- ! 267, 8, 8, 8, 8, 6, 68, 68, 306, 306,
- ! 306, 306,-32768,-32768, 68, 68, 68, 68, -51, 228,
- ! 228, 68, 306, -12, 5, 68,-32768,-32768,-32768, 228,
- ! 228,-32768,-32768, 25,-32768,-32768, 58,-32768,-32768,-32768,
- ! 228, -46,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- ! 228, 306, 306, 81, 81, 81, 81, 306, 306, 306,
- ! 306, 83,-32768,-32768, 306, 81,-32768,-32768, 306, 128,
- ! -32768, 267, 267, 267, 267, 306, 306, 306,-32768,-32768,
- ! -32768, 306, 228, -9, 228, 189, 81, 81, 81, 81,
- ! 81, 81, 11, 11, 11, 11, 12,-32768, 81, 81,
- ! -32768,-32768,-32768,-32768, 64,-32768, 333,-32768,-32768,-32768,
- ! 228,-32768, -8, 6, 228, -38,-32768,-32768,-32768,-32768,
- ! -32768,-32768, 267, 267, 306, 228,-32768,-32768, 228, -6,
- ! 228,-32768,-32768,-32768, 228,-32768, -5, 228,-32768, 27,
- ! 36,-32768
- };
- !
- ! static const short yypgoto[] = {-32768,
- ! 0, -17, -62, 1, -76, -26, 32, -7, -33, 19,
- ! -32768, -77, 33, -39, -1, -31
- };
- !
- !
- ! #define YYLAST 377
- !
- !
- ! static const short yytable[] = { 31,
- ! 108, 38, 63, 64, 50, 52, 53, 58, 59, 60,
- ! 61, 104, 62, 71, 67, 111, 111, 85, 135, 135,
- ! 65, 45, 46, 47, 69, 131, 141, 72, 73, 70,
- ! 68, 39, 40, 39, 40, 142, 39, 40, 74, 75,
- ! 54, 55, 56, 57, 93, 94, 95, 96, 134, 106,
- ! 86, 113, 71, 137, 66, 112, 127, 122, 136, 139,
- ! 132, 133, 0, 76, 77, 71, 72, 73, 71, 48,
- ! 49, 41, 102, 103, 115, 105, 121, 123, 124, 78,
- ! 79, 80, 128, 87, 88, 116, 116, 116, 116, 89,
- ! 90, 91, 92, 39, 40, 0, 99, 0, 81, 0,
- ! 100, 82, 78, 79, 80, 0, 0, 107, 71, 109,
- ! 126, 71, 50, 110, 129, 93, 94, 95, 96, 0,
- ! 71, 81, 0, 0, 82, 0, 118, 119, 120, 0,
- ! 129, 0, 1, 0, 138, 2, 3, 4, 5, 6,
- ! 0, 0, 0, 7, 8, 9, 10, 11, 12, 0,
- ! 0, 0, 0, 13, 14, 15, 16, 17, 18, 19,
- ! 0, 0, 0, 0, 20, 21, 22, 23, 0, 24,
- ! 25, 0, 26, 0, 0, 0, 0, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 0, 0, 27, 28,
- ! 29, 30, 101, 1, 0, 0, 2, 3, 4, 5,
- ! 6, 114, 0, 0, 7, 8, 9, 10, 11, 12,
- ! 0, 0, 0, 0, 13, 14, 15, 16, 17, 18,
- ! 19, 0, 0, 0, 0, 20, 21, 22, 23, 0,
- ! 24, 25, 1, 26, 0, 2, 3, 4, 5, 6,
- ! 0, 0, 0, 7, 8, 9, 10, 11, 12, 27,
- ! 28, 29, 30, 13, 14, 15, 16, 17, 18, 19,
- ! 0, 0, 0, 0, 20, 21, 22, 23, 0, 24,
- ! 25, 1, 26, 0, 2, 3, 4, 5, 6, 0,
- ! 0, 0, 7, 8, 9, 10, 11, 12, 27, 28,
- ! 29, 30, 13, 14, 15, 16, 17, 18, 19, 0,
- ! 0, 0, 0, 0, 0, 22, 23, 0, 24, 25,
- ! 0, 26, 0, 2, 3, 4, 5, 6, 0, 0,
- ! 0, 7, 8, 9, 10, 11, 12, 27, 28, 29,
- ! 30, 13, 14, 15, 16, 17, 18, 19, 76, 125,
- ! 0, 0, 0, 0, 22, 23, 0, 24, 25, 0,
- ! 26, 0, 0, 0, 78, 79, 80, 0, 0, 0,
- ! 0, 0, 0, 0, 0, 0, 27, 28, 29, 30,
- ! 0, 0, 0, 81, 0, 0, 82
- };
- !
- ! static const short yycheck[] = { 0,
- ! 77, 1, 20, 21, 6, 7, 8, 15, 16, 17,
- ! 18, 74, 64, 31, 27, 25, 25, 64, 25, 25,
- ! 22, 3, 4, 5, 26, 64, 0, 3, 4, 30,
- ! 26, 26, 27, 26, 27, 0, 26, 27, 14, 15,
- ! 9, 10, 11, 12, 33, 34, 35, 36, 125, 76,
- ! 51, 85, 70, 131, 23, 65, 65, 97, 65, 65,
- ! 123, 124, -1, 6, 7, 83, 3, 4, 86, 64,
- ! 65, 64, 72, 73, 64, 75, 65, 14, 15, 22,
- ! 23, 24, 114, 52, 53, 93, 94, 95, 96, 58,
- ! 59, 60, 61, 26, 27, -1, 65, -1, 41, -1,
- ! 69, 44, 22, 23, 24, -1, -1, 76, 126, 78,
- ! 111, 129, 114, 82, 115, 33, 34, 35, 36, -1,
- ! 138, 41, -1, -1, 44, -1, 94, 95, 96, -1,
- ! 131, -1, 5, -1, 135, 8, 9, 10, 11, 12,
- ! -1, -1, -1, 16, 17, 18, 19, 20, 21, -1,
- ! -1, -1, -1, 26, 27, 28, 29, 30, 31, 32,
- ! -1, -1, -1, -1, 37, 38, 39, 40, -1, 42,
- ! 43, -1, 45, -1, -1, -1, -1, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, -1, -1, 61, 62,
- ! 63, 64, 65, 5, -1, -1, 8, 9, 10, 11,
- ! 12, 13, -1, -1, 16, 17, 18, 19, 20, 21,
- ! -1, -1, -1, -1, 26, 27, 28, 29, 30, 31,
- ! 32, -1, -1, -1, -1, 37, 38, 39, 40, -1,
- ! 42, 43, 5, 45, -1, 8, 9, 10, 11, 12,
- ! -1, -1, -1, 16, 17, 18, 19, 20, 21, 61,
- ! 62, 63, 64, 26, 27, 28, 29, 30, 31, 32,
- ! -1, -1, -1, -1, 37, 38, 39, 40, -1, 42,
- ! 43, 5, 45, -1, 8, 9, 10, 11, 12, -1,
- ! -1, -1, 16, 17, 18, 19, 20, 21, 61, 62,
- ! 63, 64, 26, 27, 28, 29, 30, 31, 32, -1,
- ! -1, -1, -1, -1, -1, 39, 40, -1, 42, 43,
- ! -1, 45, -1, 8, 9, 10, 11, 12, -1, -1,
- ! -1, 16, 17, 18, 19, 20, 21, 61, 62, 63,
- ! 64, 26, 27, 28, 29, 30, 31, 32, 6, 7,
- ! -1, -1, -1, -1, 39, 40, -1, 42, 43, -1,
- ! 45, -1, -1, -1, 22, 23, 24, -1, -1, -1,
- ! -1, -1, -1, -1, -1, -1, 61, 62, 63, 64,
- ! -1, -1, -1, 41, -1, -1, 44
- };
- + /* -*-C-*- Note some compilers choke on comments on `#line' lines. */
- + #line 3 "/usr/lib/bison.simple"
- +
- + /* Skeleton output parser for bison,
- + Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman
- +
- + This program is free software; you can redistribute it and/or modify
- + it under the terms of the GNU General Public License as published by
- + the Free Software Foundation; either version 1, or (at your option)
- + any later version.
- +
- + This program is distributed in the hope that it will be useful,
- + but WITHOUT ANY WARRANTY; without even the implied warranty of
- + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + GNU General Public License for more details.
- +
- + You should have received a copy of the GNU General Public License
- + along with this program; if not, write to the Free Software
- + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
- +
- +
- + #ifndef alloca
- + #ifdef __GNUC__
- + #define alloca __builtin_alloca
- + #else /* not GNU C. */
- + #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
- + #include <alloca.h>
- + #else /* not sparc */
- + #if defined (MSDOS) && !defined (__TURBOC__)
- + #include <malloc.h>
- + #else /* not MSDOS, or __TURBOC__ */
- + #if defined(_AIX)
- + #include <malloc.h>
- + #pragma alloca
- + #else /* not MSDOS, __TURBOC__, or _AIX */
- + #ifdef __hpux
- + #ifdef __cplusplus
- + extern "C" {
- + void *alloca (unsigned int);
- + };
- + #else /* not __cplusplus */
- + void *alloca ();
- + #endif /* not __cplusplus */
- + #endif /* __hpux */
- + #endif /* not _AIX */
- + #endif /* not MSDOS, or __TURBOC__ */
- + #endif /* not sparc. */
- + #endif /* not GNU C. */
- + #endif /* alloca not defined. */
- +
- + /* This is the parser code that is written into each bison parser
- + when the %semantic_parser declaration is not specified in the grammar.
- + It was written by Richard Stallman by simplifying the hairy parser
- + used when %semantic_parser is specified. */
- +
- + /* Note: there must be only one dollar sign in this file.
- + It is replaced by the list of actions, each action
- + as one case of the switch. */
- +
- + #define yyerrok (yyerrstatus = 0)
- + #define yyclearin (yychar = YYEMPTY)
- + #define YYEMPTY -2
- + #define YYEOF 0
- + #define YYACCEPT return(0)
- + #define YYABORT return(1)
- + #define YYERROR goto yyerrlab1
- + /* Like YYERROR except do call yyerror.
- + This remains here temporarily to ease the
- + transition to the new meaning of YYERROR, for GCC.
- + Once GCC version 2 has supplanted version 1, this can go. */
- + #define YYFAIL goto yyerrlab
- + #define YYRECOVERING() (!!yyerrstatus)
- + #define YYBACKUP(token, value) \
- + do \
- + if (yychar == YYEMPTY && yylen == 1) \
- + { yychar = (token), yylval = (value); \
- + yychar1 = YYTRANSLATE (yychar); \
- + YYPOPSTACK; \
- + goto yybackup; \
- + } \
- + else \
- + { yyerror ("syntax error: cannot back up"); YYERROR; } \
- + while (0)
- +
- + #define YYTERROR 1
- + #define YYERRCODE 256
- +
- + #ifndef YYPURE
- + #define YYLEX yylex()
- #endif
- !
- ! #ifdef YYPURE
- ! #ifdef YYLSP_NEEDED
- ! #define YYLEX yylex(&yylval, &yylloc)
- ! #else
- ! #define YYLEX yylex(&yylval)
- ! #endif
- ! #endif
- !
- ! /* If nonreentrant, generate the variables here */
- !
- ! #ifndef YYPURE
- !
- ! int yychar; /* the lookahead symbol */
- ! YYSTYPE yylval; /* the semantic value of the */
- ! /* lookahead symbol */
- !
- ! #ifdef YYLSP_NEEDED
- ! YYLTYPE yylloc; /* location data for the lookahead */
- ! /* symbol */
- ! #endif
- !
- ! int yynerrs; /* number of parse errors so far */
- ! #endif /* not YYPURE */
- !
- ! #if YYDEBUG != 0
- ! int yydebug; /* nonzero means print parse trace */
- ! /* Since this is uninitialized, it does not stop multiple parsers
- ! from coexisting. */
- ! #endif
- !
- ! /* YYINITDEPTH indicates the initial size of the parser's stacks */
- !
- ! #ifndef YYINITDEPTH
- ! #define YYINITDEPTH 200
- ! #endif
- !
- ! /* YYMAXDEPTH is the maximum size the stacks can grow to
- ! (effective only if the built-in stack extension method is used). */
- !
- ! #if YYMAXDEPTH == 0
- ! #undef YYMAXDEPTH
- ! #endif
- !
- #ifndef YYMAXDEPTH
- ! #define YYMAXDEPTH 10000
- #endif
- !
- ! /* Prevent warning if -Wstrict-prototypes. */
- ! #ifdef __GNUC__
- ! int yyparse (void);
- ! #endif
- !
- ! #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
- ! #define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
- ! #else /* not GNU C or C++ */
- ! #ifndef __cplusplus
- !
- ! /* This is the most reliable way to avoid incompatibilities
- ! in available built-in functions on various systems. */
- ! static void
- ! __yy_bcopy (from, to, count)
- ! char *from;
- ! char *to;
- ! int count;
- ! {
- ! register char *f = from;
- ! register char *t = to;
- ! register int i = count;
- !
- ! while (i-- > 0)
- ! *t++ = *f++;
- ! }
- !
- ! #else /* __cplusplus */
- !
- ! /* This is the most reliable way to avoid incompatibilities
- ! in available built-in functions on various systems. */
- ! static void
- ! __yy_bcopy (char *from, char *to, int count)
- ! {
- ! register char *f = from;
- ! register char *t = to;
- ! register int i = count;
- !
- ! while (i-- > 0)
- ! *t++ = *f++;
- ! }
- !
- #endif
- #endif
- !
- ! #line 184 "/usr/lib/bison.simple"
- int
- yyparse()
- {
- ! register int yystate;
- ! register int yyn;
- ! register short *yyssp;
- ! register YYSTYPE *yyvsp;
- ! int yyerrstatus; /* number of tokens to shift before error messages enabled */
- ! int yychar1 = 0; /* lookahead token as an internal (translated) token number */
- !
- ! short yyssa[YYINITDEPTH]; /* the state stack */
- ! YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
- !
- ! short *yyss = yyssa; /* refer to the stacks thru separate pointers */
- ! YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
- !
- ! #ifdef YYLSP_NEEDED
- ! YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
- ! YYLTYPE *yyls = yylsa;
- ! YYLTYPE *yylsp;
- !
- ! #define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
- ! #else
- ! #define YYPOPSTACK (yyvsp--, yyssp--)
- ! #endif
- !
- ! int yystacksize = YYINITDEPTH;
- !
- ! #ifdef YYPURE
- ! int yychar;
- ! YYSTYPE yylval;
- ! int yynerrs;
- ! #ifdef YYLSP_NEEDED
- ! YYLTYPE yylloc;
- ! #endif
- ! #endif
-
- ! YYSTYPE yyval; /* the variable used to return */
- ! /* semantic values from the action */
- ! /* routines */
- !
- ! int yylen;
- !
- ! #if YYDEBUG != 0
- ! if (yydebug)
- ! fprintf(stderr, "Starting parse\n");
- ! #endif
- !
- ! yystate = 0;
- ! yyerrstatus = 0;
- ! yynerrs = 0;
- ! yychar = YYEMPTY; /* Cause a token to be read. */
- !
- ! /* Initialize stack pointers.
- ! Waste one element of value and location stack
- ! so that they stay on the same level as the state stack.
- ! The wasted elements are never initialized. */
- !
- ! yyssp = yyss - 1;
- ! yyvsp = yyvs;
- ! #ifdef YYLSP_NEEDED
- ! yylsp = yyls;
- ! #endif
- !
- ! /* Push a new state, which is found in yystate . */
- ! /* In all cases, when you get here, the value and location stacks
- ! have just been pushed. so pushing a state here evens the stacks. */
- ! yynewstate:
- !
- ! *++yyssp = yystate;
- !
- ! if (yyssp >= yyss + yystacksize - 1)
- {
- ! /* Give user a chance to reallocate the stack */
- ! /* Use copies of these so that the &'s don't force the real ones into memory. */
- ! YYSTYPE *yyvs1 = yyvs;
- ! short *yyss1 = yyss;
- ! #ifdef YYLSP_NEEDED
- ! YYLTYPE *yyls1 = yyls;
- ! #endif
- !
- ! /* Get the current used size of the three stacks, in elements. */
- ! int size = yyssp - yyss + 1;
- !
- ! #ifdef yyoverflow
- ! /* Each stack pointer address is followed by the size of
- ! the data in use in that stack, in bytes. */
- ! #ifdef YYLSP_NEEDED
- ! /* This used to be a conditional around just the two extra args,
- ! but that might be undefined if yyoverflow is a macro. */
- ! yyoverflow("parser stack overflow",
- ! &yyss1, size * sizeof (*yyssp),
- ! &yyvs1, size * sizeof (*yyvsp),
- ! &yyls1, size * sizeof (*yylsp),
- ! &yystacksize);
- ! #else
- ! yyoverflow("parser stack overflow",
- ! &yyss1, size * sizeof (*yyssp),
- ! &yyvs1, size * sizeof (*yyvsp),
- ! &yystacksize);
- ! #endif
- !
- ! yyss = yyss1; yyvs = yyvs1;
- ! #ifdef YYLSP_NEEDED
- ! yyls = yyls1;
- ! #endif
- ! #else /* no yyoverflow */
- ! /* Extend the stack our own way. */
- ! if (yystacksize >= YYMAXDEPTH)
- ! {
- ! yyerror("parser stack overflow");
- ! return 2;
- ! }
- ! yystacksize *= 2;
- ! if (yystacksize > YYMAXDEPTH)
- ! yystacksize = YYMAXDEPTH;
- ! yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
- ! __yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
- ! yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
- ! __yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
- ! #ifdef YYLSP_NEEDED
- ! yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
- ! __yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
- ! #endif
- ! #endif /* no yyoverflow */
- !
- ! yyssp = yyss + size - 1;
- ! yyvsp = yyvs + size - 1;
- ! #ifdef YYLSP_NEEDED
- ! yylsp = yyls + size - 1;
- ! #endif
- !
- ! #if YYDEBUG != 0
- ! if (yydebug)
- ! fprintf(stderr, "Stack size increased to %d\n", yystacksize);
- ! #endif
- !
- ! if (yyssp >= yyss + yystacksize - 1)
- ! YYABORT;
- }
- +
- + #if YYDEBUG != 0
- + if (yydebug)
- + fprintf(stderr, "Entering state %d\n", yystate);
- #endif
-
- ! goto yybackup;
- ! yybackup:
- !
- ! /* Do appropriate processing given the current state. */
- ! /* Read a lookahead token if we need one and don't already have one. */
- ! /* yyresume: */
- !
- ! /* First try to decide what to do without reference to lookahead token. */
- !
- ! yyn = yypact[yystate];
- ! if (yyn == YYFLAG)
- ! goto yydefault;
- !
- ! /* Not known => get a lookahead token if don't already have one. */
- !
- ! /* yychar is either YYEMPTY or YYEOF
- ! or a valid token in external form. */
- !
- ! if (yychar == YYEMPTY)
- {
- ! #if YYDEBUG != 0
- ! if (yydebug)
- ! fprintf(stderr, "Reading a token: ");
- #endif
- + yychar = YYLEX;
- }
- !
- ! /* Convert token to internal form (in yychar1) for indexing tables with */
- !
- ! if (yychar <= 0) /* This means end of input. */
- {
- ! yychar1 = 0;
- ! yychar = YYEOF; /* Don't call YYLEX any more */
- !
- ! #if YYDEBUG != 0
- ! if (yydebug)
- ! fprintf(stderr, "Now at end of input.\n");
- ! #endif
- }
- ! else
- {
- ! yychar1 = YYTRANSLATE(yychar);
- !
- ! #if YYDEBUG != 0
- ! if (yydebug)
- ! {
- ! fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
- ! /* Give the individual parser a way to print the precise meaning
- ! of a token, for further debugging info. */
- ! #ifdef YYPRINT
- ! YYPRINT (stderr, yychar, yylval);
- ! #endif
- ! fprintf (stderr, ")\n");
- ! }
- #endif
- }
- !
- ! yyn += yychar1;
- ! if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
- ! goto yydefault;
- !
- ! yyn = yytable[yyn];
- !
- ! /* yyn is what to do for this token type in this state.
- ! Negative => reduce, -yyn is rule number.
- ! Positive => shift, yyn is new state.
- ! New state is final state => don't bother to shift,
- ! just return success.
- ! 0, or most negative number => error. */
- !
- ! if (yyn < 0)
- {
- ! if (yyn == YYFLAG)
- ! goto yyerrlab;
- ! yyn = -yyn;
- ! goto yyreduce;
- }
- + else if (yyn == 0)
- + goto yyerrlab;
- +
- + if (yyn == YYFINAL)
- + YYACCEPT;
- +
- + /* Shift the lookahead token. */
- +
- + #if YYDEBUG != 0
- + if (yydebug)
- + fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
- + #endif
- +
- + /* Discard the token being shifted unless it is eof. */
- + if (yychar != YYEOF)
- + yychar = YYEMPTY;
- +
- + *++yyvsp = yylval;
- + #ifdef YYLSP_NEEDED
- + *++yylsp = yylloc;
- + #endif
- +
- + /* count tokens shifted since error; after three, turn off error status. */
- + if (yyerrstatus) yyerrstatus--;
- +
- + yystate = yyn;
- + goto yynewstate;
- +
- + /* Do the default action for the current state. */
- + yydefault:
- +
- + yyn = yydefact[yystate];
- + if (yyn == 0)
- + goto yyerrlab;
- +
- + /* Do a reduction. yyn is the number of a rule to reduce with. */
- yyreduce:
- ! yylen = yyr2[yyn];
- ! if (yylen > 0)
- ! yyval = yyvsp[1-yylen]; /* implement default value of the action */
- !
- ! #if YYDEBUG != 0
- ! if (yydebug)
- {
- + int i;
- +
- + fprintf (stderr, "Reducing via rule %d (line %d), ",
- + yyn, yyrline[yyn]);
- +
- + /* Print the symbols being reduced, and their result. */
- + for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
- + fprintf (stderr, "%s ", yytname[yyrhs[i]]);
- + fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
- + }
- + #endif
- +
- +
- + switch (yyn) {
- +
- case 2:
- ! #line 126 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].b->top_level(); non_empty_flag = 1; ;
- ! break;}
- case 3:
- ! #line 131 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; ;
- ! break;}
- case 4:
- ! #line 133 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- {
- list_box *lb = yyvsp[-1].b->to_list_box();
- if (!lb)
- lb = new list_box(yyvsp[-1].b);
- lb->append(yyvsp[0].b);
- yyval.b = lb;
- ! ;
- ! break;}
- case 5:
- ! #line 144 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; ;
- ! break;}
- case 6:
- ! #line 146 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_mark_box(yyvsp[0].b); ;
- ! break;}
- case 7:
- ! #line 148 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_lineup_box(yyvsp[0].b); ;
- ! break;}
- case 8:
- ! #line 153 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; ;
- ! break;}
- case 9:
- ! #line 155 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_limit_box(yyvsp[-2].b, 0, yyvsp[0].b); ;
- ! break;}
- case 10:
- ! #line 157 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_limit_box(yyvsp[-2].b, yyvsp[0].b, 0); ;
- ! break;}
- case 11:
- ! #line 159 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_limit_box(yyvsp[-4].b, yyvsp[-2].b, yyvsp[0].b); ;
- ! break;}
- case 12:
- ! #line 161 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_limit_box(yyvsp[-4].b, make_limit_box(yyvsp[-2].b, yyvsp[0].b, 0), 0); ;
- ! break;}
- case 13:
- ! #line 166 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; ;
- ! break;}
- case 14:
- ! #line 168 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_sqrt_box(yyvsp[0].b); ;
- ! break;}
- case 15:
- ! #line 170 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_over_box(yyvsp[-2].b, yyvsp[0].b); ;
- ! break;}
- case 16:
- ! #line 172 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_small_over_box(yyvsp[-2].b, yyvsp[0].b); ;
- ! break;}
- case 17:
- ! #line 177 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; ;
- ! break;}
- case 18:
- ! #line 179 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_script_box(yyvsp[-2].b, 0, yyvsp[0].b); ;
- ! break;}
- case 19:
- ! #line 184 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = yyvsp[0].b; ;
- ! break;}
- case 20:
- ! #line 186 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_script_box(yyvsp[-2].b, yyvsp[0].b, 0); ;
- ! break;}
- case 21:
- ! #line 188 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_script_box(yyvsp[-4].b, yyvsp[-2].b, yyvsp[0].b); ;
- ! break;}
- case 22:
- ! #line 193 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = split_text(yyvsp[0].str); ;
- ! break;}
- case 23:
- ! #line 195 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new quoted_text_box(yyvsp[0].str); ;
- ! break;}
- case 24:
- ! #line 197 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = split_text(yyvsp[0].str); ;
- ! break;}
- case 25:
- ! #line 199 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new quoted_text_box(yyvsp[0].str); ;
- ! break;}
- case 26:
- ! #line 201 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new half_space_box; ;
- ! break;}
- case 27:
- ! #line 203 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new space_box; ;
- ! break;}
- case 28:
- ! #line 205 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new tab_box; ;
- ! break;}
- case 29:
- ! #line 207 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = yyvsp[-1].b; ;
- ! break;}
- case 30:
- ! #line 209 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].pb->set_alignment(CENTER_ALIGN); yyval.b = yyvsp[0].pb; ;
- ! break;}
- case 31:
- ! #line 211 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].pb->set_alignment(LEFT_ALIGN); yyval.b = yyvsp[0].pb; ;
- ! break;}
- case 32:
- ! #line 213 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].pb->set_alignment(RIGHT_ALIGN); yyval.b = yyvsp[0].pb; ;
- ! break;}
- case 33:
- ! #line 215 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].pb->set_alignment(CENTER_ALIGN); yyval.b = yyvsp[0].pb; ;
- ! break;}
- case 34:
- ! #line 217 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = yyvsp[-1].mb; ;
- ! break;}
- case 35:
- ! #line 219 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_delim_box(yyvsp[-3].str, yyvsp[-2].b, yyvsp[0].str); ;
- ! break;}
- case 36:
- ! #line 221 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_delim_box(yyvsp[-1].str, yyvsp[0].b, 0); ;
- ! break;}
- case 37:
- ! #line 223 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_overline_box(yyvsp[-1].b); ;
- ! break;}
- case 38:
- ! #line 225 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_underline_box(yyvsp[-1].b); ;
- ! break;}
- case 39:
- ! #line 227 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_prime_box(yyvsp[-1].b); ;
- ! break;}
- case 40:
- ! #line 229 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_accent_box(yyvsp[-2].b, yyvsp[0].b); ;
- ! break;}
- case 41:
- ! #line 231 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_uaccent_box(yyvsp[-2].b, yyvsp[0].b); ;
- ! break;}
- case 42:
- ! #line 233 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new font_box(strsave(get_grfont()), yyvsp[0].b); ;
- ! break;}
- case 43:
- ! #line 235 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new font_box(strsave(get_gbfont()), yyvsp[0].b); ;
- ! break;}
- case 44:
- ! #line 237 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new font_box(strsave(get_gfont()), yyvsp[0].b); ;
- ! break;}
- case 45:
- ! #line 239 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new fat_box(yyvsp[0].b); ;
- ! break;}
- case 46:
- ! #line 241 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new font_box(yyvsp[-1].str, yyvsp[0].b); ;
- ! break;}
- case 47:
- ! #line 243 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new size_box(yyvsp[-1].str, yyvsp[0].b); ;
- ! break;}
- case 48:
- ! #line 245 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new hmotion_box(yyvsp[-1].n, yyvsp[0].b); ;
- ! break;}
- case 49:
- ! #line 247 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new hmotion_box(-yyvsp[-1].n, yyvsp[0].b); ;
- ! break;}
- case 50:
- ! #line 249 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new vmotion_box(yyvsp[-1].n, yyvsp[0].b); ;
- ! break;}
- case 51:
- ! #line 251 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new vmotion_box(-yyvsp[-1].n, yyvsp[0].b); ;
- ! break;}
- case 52:
- ! #line 253 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].b->set_spacing_type(yyvsp[-1].str); yyval.b = yyvsp[0].b; ;
- ! break;}
- case 53:
- ! #line 255 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = new vcenter_box(yyvsp[0].b); ;
- ! break;}
- case 54:
- ! #line 257 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.b = make_special_box(yyvsp[-1].str, yyvsp[0].b); ;
- ! break;}
- case 55:
- ! #line 262 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- {
- int n;
- if (sscanf(yyvsp[0].str, "%d", &n) == 1)
- yyval.n = n;
- a_delete yyvsp[0].str;
- ! ;
- ! break;}
- case 56:
- ! #line 272 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.pb = new pile_box(yyvsp[0].b); ;
- ! break;}
- case 57:
- ! #line 274 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[-2].pb->append(yyvsp[0].b); yyval.pb = yyvsp[-2].pb; ;
- ! break;}
- case 58:
- ! #line 279 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.pb = yyvsp[-1].pb; ;
- ! break;}
- case 59:
- ! #line 281 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[-1].pb->set_space(yyvsp[-3].n); yyval.pb = yyvsp[-1].pb; ;
- ! break;}
- case 60:
- ! #line 286 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.mb = new matrix_box(yyvsp[0].col); ;
- ! break;}
- case 61:
- ! #line 288 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[-1].mb->append(yyvsp[0].col); yyval.mb = yyvsp[-1].mb; ;
- ! break;}
- case 62:
- ! #line 293 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.col = new column(yyvsp[0].b); ;
- ! break;}
- case 63:
- ! #line 295 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[-2].col->append(yyvsp[0].b); yyval.col = yyvsp[-2].col; ;
- ! break;}
- case 64:
- ! #line 300 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.col = yyvsp[-1].col; ;
- ! break;}
- case 65:
- ! #line 302 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[-1].col->set_space(yyvsp[-3].n); yyval.col = yyvsp[-1].col; ;
- ! break;}
- case 66:
- ! #line 307 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].col->set_alignment(CENTER_ALIGN); yyval.col = yyvsp[0].col; ;
- ! break;}
- case 67:
- ! #line 309 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].col->set_alignment(LEFT_ALIGN); yyval.col = yyvsp[0].col; ;
- ! break;}
- case 68:
- ! #line 311 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].col->set_alignment(RIGHT_ALIGN); yyval.col = yyvsp[0].col; ;
- ! break;}
- case 69:
- ! #line 313 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyvsp[0].col->set_alignment(CENTER_ALIGN); yyval.col = yyvsp[0].col; ;
- ! break;}
- case 70:
- ! #line 317 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.str = yyvsp[0].str; ;
- ! break;}
- case 71:
- ! #line 319 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.str = yyvsp[0].str; ;
- ! break;}
- case 72:
- ! #line 324 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.str = yyvsp[0].str; ;
- ! break;}
- case 73:
- ! #line 326 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.str = strsave("{"); ;
- ! break;}
- case 74:
- ! #line 328 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- ! { yyval.str = strsave("}"); ;
- ! break;}
- ! }
- ! /* the action file gets copied in in place of this dollarsign */
- ! #line 465 "/usr/lib/bison.simple"
- !
- ! yyvsp -= yylen;
- ! yyssp -= yylen;
- ! #ifdef YYLSP_NEEDED
- ! yylsp -= yylen;
- ! #endif
- !
- ! #if YYDEBUG != 0
- ! if (yydebug)
- ! {
- ! short *ssp1 = yyss - 1;
- ! fprintf (stderr, "state stack now");
- ! while (ssp1 != yyssp)
- ! fprintf (stderr, " %d", *++ssp1);
- ! fprintf (stderr, "\n");
- ! }
- ! #endif
- !
- ! *++yyvsp = yyval;
- !
- ! #ifdef YYLSP_NEEDED
- ! yylsp++;
- ! if (yylen == 0)
- ! {
- ! yylsp->first_line = yylloc.first_line;
- ! yylsp->first_column = yylloc.first_column;
- ! yylsp->last_line = (yylsp-1)->last_line;
- ! yylsp->last_column = (yylsp-1)->last_column;
- ! yylsp->text = 0;
- ! }
- ! else
- ! {
- ! yylsp->last_line = (yylsp+yylen-1)->last_line;
- ! yylsp->last_column = (yylsp+yylen-1)->last_column;
- ! }
- ! #endif
- !
- ! /* Now "shift" the result of the reduction.
- ! Determine what state that goes to,
- ! based on the state we popped back to
- ! and the rule number reduced by. */
- !
- ! yyn = yyr1[yyn];
- !
- ! yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
- ! if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
- ! yystate = yytable[yystate];
- ! else
- ! yystate = yydefgoto[yyn - YYNTBASE];
- !
- ! goto yynewstate;
- !
- ! yyerrlab: /* here on detecting error */
- !
- ! if (! yyerrstatus)
- ! /* If not already recovering from an error, report this error. */
- ! {
- ! ++yynerrs;
- !
- ! #ifdef YYERROR_VERBOSE
- ! yyn = yypact[yystate];
- !
- ! if (yyn > YYFLAG && yyn < YYLAST)
- ! {
- ! int size = 0;
- ! char *msg;
- ! int x, count;
- !
- ! count = 0;
- ! /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
- ! for (x = (yyn < 0 ? -yyn : 0);
- ! x < (sizeof(yytname) / sizeof(char *)); x++)
- ! if (yycheck[x + yyn] == x)
- ! size += strlen(yytname[x]) + 15, count++;
- ! msg = (char *) malloc(size + 15);
- ! if (msg != 0)
- ! {
- ! strcpy(msg, "parse error");
- !
- ! if (count < 5)
- ! {
- ! count = 0;
- ! for (x = (yyn < 0 ? -yyn : 0);
- ! x < (sizeof(yytname) / sizeof(char *)); x++)
- ! if (yycheck[x + yyn] == x)
- ! {
- ! strcat(msg, count == 0 ? ", expecting `" : " or `");
- ! strcat(msg, yytname[x]);
- ! strcat(msg, "'");
- ! count++;
- ! }
- ! }
- ! yyerror(msg);
- ! free(msg);
- ! }
- ! else
- ! yyerror ("parse error; also virtual memory exceeded");
- ! }
- ! else
- ! #endif /* YYERROR_VERBOSE */
- ! yyerror("parse error");
- ! }
- !
- ! goto yyerrlab1;
- ! yyerrlab1: /* here on error raised explicitly by an action */
- !
- ! if (yyerrstatus == 3)
- ! {
- ! /* if just tried and failed to reuse lookahead token after an error, discard it. */
- !
- ! /* return failure if at end of input */
- ! if (yychar == YYEOF)
- ! YYABORT;
- !
- ! #if YYDEBUG != 0
- ! if (yydebug)
- ! fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
- ! #endif
- !
- ! yychar = YYEMPTY;
- }
- !
- ! /* Else will try to reuse lookahead token
- ! after shifting the error token. */
- !
- ! yyerrstatus = 3; /* Each real token shifted decrements this */
- !
- ! goto yyerrhandle;
- !
- ! yyerrdefault: /* current state does not do anything special for the error token. */
- !
- ! #if 0
- ! /* This is wrong; only states that explicitly want error tokens
- ! should shift them. */
- ! yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
- ! if (yyn) goto yydefault;
- ! #endif
- !
- ! yyerrpop: /* pop the current state because it cannot handle the error token */
- !
- ! if (yyssp == yyss) YYABORT;
- ! yyvsp--;
- ! yystate = *--yyssp;
- ! #ifdef YYLSP_NEEDED
- ! yylsp--;
- ! #endif
- !
- ! #if YYDEBUG != 0
- ! if (yydebug)
- {
- ! short *ssp1 = yyss - 1;
- ! fprintf (stderr, "Error: state stack now");
- ! while (ssp1 != yyssp)
- ! fprintf (stderr, " %d", *++ssp1);
- ! fprintf (stderr, "\n");
- }
- #endif
- !
- ! yyerrhandle:
- !
- ! yyn = yypact[yystate];
- ! if (yyn == YYFLAG)
- ! goto yyerrdefault;
- !
- ! yyn += YYTERROR;
- ! if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
- ! goto yyerrdefault;
- !
- ! yyn = yytable[yyn];
- ! if (yyn < 0)
- {
- ! if (yyn == YYFLAG)
- ! goto yyerrpop;
- ! yyn = -yyn;
- ! goto yyreduce;
- }
- ! else if (yyn == 0)
- ! goto yyerrpop;
- !
- ! if (yyn == YYFINAL)
- ! YYACCEPT;
- !
- ! #if YYDEBUG != 0
- ! if (yydebug)
- ! fprintf(stderr, "Shifting error token, ");
- ! #endif
- !
- ! *++yyvsp = yylval;
- ! #ifdef YYLSP_NEEDED
- ! *++yylsp = yylloc;
- ! #endif
- !
- ! yystate = yyn;
- ! goto yynewstate;
- }
- + #line 331 "/ISO/groff/groff-1.09-amiga/eqn/eqn.y"
- +
- diff -rc --new-file groff-1.09/eqn/eqn.h /gnu/src/amiga/groff-1.09/eqn/eqn.h
- *** groff-1.09/eqn/eqn.h Sun Sep 20 10:26:24 1992
- --- /gnu/src/amiga/groff-1.09/eqn/eqn.h Mon Feb 21 16:15:34 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include <string.h>
- #include <assert.h>
- #include <stdlib.h>
- #include <errno.h>
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <assert.h>
- #include <stdlib.h>
- #include <errno.h>
- diff -rc --new-file groff-1.09/eqn/eqn.tab.h /gnu/src/amiga/groff-1.09/eqn/eqn.tab.h
- *** groff-1.09/eqn/eqn.tab.h Tue Mar 30 17:04:40 1993
- --- /gnu/src/amiga/groff-1.09/eqn/eqn.tab.h Mon Feb 21 18:22:41 1994
- ***************
- *** 1,61 ****
- - #define OVER 257
- - #define SMALLOVER 258
- - #define SQRT 259
- - #define SUB 260
- - #define SUP 261
- - #define LPILE 262
- - #define RPILE 263
- - #define CPILE 264
- - #define PILE 265
- - #define LEFT 266
- - #define RIGHT 267
- - #define TO 268
- - #define FROM 269
- - #define SIZE 270
- - #define FONT 271
- - #define ROMAN 272
- - #define BOLD 273
- - #define ITALIC 274
- - #define FAT 275
- - #define ACCENT 276
- - #define BAR 277
- - #define UNDER 278
- - #define ABOVE 279
- - #define TEXT 280
- - #define QUOTED_TEXT 281
- - #define FWD 282
- - #define BACK 283
- - #define DOWN 284
- - #define UP 285
- - #define MATRIX 286
- - #define COL 287
- - #define LCOL 288
- - #define RCOL 289
- - #define CCOL 290
- - #define MARK 291
- - #define LINEUP 292
- - #define TYPE 293
- - #define VCENTER 294
- - #define PRIME 295
- - #define SPLIT 296
- - #define NOSPLIT 297
- - #define UACCENT 298
- - #define SPECIAL 299
- - #define SPACE 300
- - #define GFONT 301
- - #define GSIZE 302
- - #define DEFINE 303
- - #define NDEFINE 304
- - #define TDEFINE 305
- - #define SDEFINE 306
- - #define UNDEF 307
- - #define IFDEF 308
- - #define INCLUDE 309
- - #define DELIM 310
- - #define CHARTYPE 311
- - #define SET 312
- - #define GRFONT 313
- - #define GBFONT 314
- typedef union {
- char *str;
- box *b;
- --- 1,3 ----
- ***************
- *** 64,67 ****
- --- 6,69 ----
- int n;
- column *col;
- } YYSTYPE;
- + #define OVER 258
- + #define SMALLOVER 259
- + #define SQRT 260
- + #define SUB 261
- + #define SUP 262
- + #define LPILE 263
- + #define RPILE 264
- + #define CPILE 265
- + #define PILE 266
- + #define LEFT 267
- + #define RIGHT 268
- + #define TO 269
- + #define FROM 270
- + #define SIZE 271
- + #define FONT 272
- + #define ROMAN 273
- + #define BOLD 274
- + #define ITALIC 275
- + #define FAT 276
- + #define ACCENT 277
- + #define BAR 278
- + #define UNDER 279
- + #define ABOVE 280
- + #define TEXT 281
- + #define QUOTED_TEXT 282
- + #define FWD 283
- + #define BACK 284
- + #define DOWN 285
- + #define UP 286
- + #define MATRIX 287
- + #define COL 288
- + #define LCOL 289
- + #define RCOL 290
- + #define CCOL 291
- + #define MARK 292
- + #define LINEUP 293
- + #define TYPE 294
- + #define VCENTER 295
- + #define PRIME 296
- + #define SPLIT 297
- + #define NOSPLIT 298
- + #define UACCENT 299
- + #define SPECIAL 300
- + #define SPACE 301
- + #define GFONT 302
- + #define GSIZE 303
- + #define DEFINE 304
- + #define NDEFINE 305
- + #define TDEFINE 306
- + #define SDEFINE 307
- + #define UNDEF 308
- + #define IFDEF 309
- + #define INCLUDE 310
- + #define DELIM 311
- + #define CHARTYPE 312
- + #define SET 313
- + #define GRFONT 314
- + #define GBFONT 315
- +
- +
- extern YYSTYPE yylval;
- diff -rc --new-file groff-1.09/eqn/eqn.y /gnu/src/amiga/groff-1.09/eqn/eqn.y
- *** groff-1.09/eqn/eqn.y Wed Apr 7 11:47:57 1993
- --- /gnu/src/amiga/groff-1.09/eqn/eqn.y Mon Feb 21 16:15:26 1994
- ***************
- *** 18,24 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- %{
- #include <stdio.h>
- ! #include <string.h>
- #include <stdlib.h>
-
- #include "lib.h"
- --- 18,24 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- %{
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <stdlib.h>
-
- #include "lib.h"
- diff -rc --new-file groff-1.09/groff/groff.cc /gnu/src/amiga/groff-1.09/groff/groff.cc
- *** groff-1.09/groff/groff.cc Tue Aug 10 07:39:26 1993
- --- /gnu/src/amiga/groff-1.09/groff/groff.cc Mon Feb 21 16:15:40 1994
- ***************
- *** 21,27 ****
- // A front end for groff.
-
- #include <stdio.h>
- ! #include <string.h>
- #include <stdlib.h>
- #include <signal.h>
- #include <errno.h>
- --- 21,27 ----
- // A front end for groff.
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <stdlib.h>
- #include <signal.h>
- #include <errno.h>
- diff -rc --new-file groff-1.09/grog/Makefile.sub /gnu/src/amiga/groff-1.09/grog/Makefile.sub
- *** groff-1.09/grog/Makefile.sub Mon Apr 19 08:47:11 1993
- --- /gnu/src/amiga/groff-1.09/grog/Makefile.sub Mon Feb 21 16:30:48 1994
- ***************
- *** 6,12 ****
- grog: grog.pl grog.sh
- if test -n "$(PERLPATH)" && test -f "$(PERLPATH)"; then \
- rm -f $@; \
- ! sed -e 's;/usr/bin/perl;$(PERLPATH);' $(srcdir)/grog.pl >$@; \
- else \
- rm -f $@; \
- sed "$(SH_SCRIPT_SED_CMD)" $(srcdir)/grog.sh >$@; \
- --- 6,12 ----
- grog: grog.pl grog.sh
- if test -n "$(PERLPATH)" && test -f "$(PERLPATH)"; then \
- rm -f $@; \
- ! sed -e 's;/bin/perl;$(PERLPATH);' $(srcdir)/grog.pl >$@; \
- else \
- rm -f $@; \
- sed "$(SH_SCRIPT_SED_CMD)" $(srcdir)/grog.sh >$@; \
- diff -rc --new-file groff-1.09/grog/grog.pl /gnu/src/amiga/groff-1.09/grog/grog.pl
- *** groff-1.09/grog/grog.pl Thu Feb 25 07:50:51 1993
- --- /gnu/src/amiga/groff-1.09/grog/grog.pl Mon Feb 21 16:30:32 1994
- ***************
- *** 1,4 ****
- ! #!/usr/bin/perl
- # grog -- guess options for groff command
- # Inspired by doctype script in Kernighan & Pike, Unix Programming
- # Environment, pp 306-8.
- --- 1,4 ----
- ! #!/bin/perl
- # grog -- guess options for groff command
- # Inspired by doctype script in Kernighan & Pike, Unix Programming
- # Environment, pp 306-8.
- diff -rc --new-file groff-1.09/include/driver.h /gnu/src/amiga/groff-1.09/include/driver.h
- *** groff-1.09/include/driver.h Tue Aug 25 13:57:07 1992
- --- /gnu/src/amiga/groff-1.09/include/driver.h Mon Feb 21 16:15:46 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include <string.h>
- #include <ctype.h>
- #include <stdlib.h>
- #include <stddef.h>
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <ctype.h>
- #include <stdlib.h>
- #include <stddef.h>
- diff -rc --new-file groff-1.09/include/ptable.h /gnu/src/amiga/groff-1.09/include/ptable.h
- *** groff-1.09/include/ptable.h Tue Aug 25 12:55:59 1992
- --- /gnu/src/amiga/groff-1.09/include/ptable.h Mon Feb 21 16:15:55 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <assert.h>
- ! #include <string.h>
-
- #ifdef TRADITIONAL_CPP
- #define name2(a,b) a/**/b
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <assert.h>
- ! #include </gnu/include/string.h>
-
- #ifdef TRADITIONAL_CPP
- #define name2(a,b) a/**/b
- diff -rc --new-file groff-1.09/include/stringclass.h /gnu/src/amiga/groff-1.09/include/stringclass.h
- *** groff-1.09/include/stringclass.h Thu May 27 21:19:36 1993
- --- /gnu/src/amiga/groff-1.09/include/stringclass.h Mon Feb 21 16:16:02 1994
- ***************
- *** 18,24 ****
- with groff; see the file COPYING. If not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- ! #include <string.h>
- #include <stdio.h>
- #include <assert.h>
-
- --- 18,24 ----
- with groff; see the file COPYING. If not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- ! #include </gnu/include/string.h>
- #include <stdio.h>
- #include <assert.h>
-
- diff -rc --new-file groff-1.09/indxbib/Makefile.sub /gnu/src/amiga/groff-1.09/indxbib/Makefile.sub
- *** groff-1.09/indxbib/Makefile.sub Mon Jan 4 21:57:32 1993
- --- /gnu/src/amiga/groff-1.09/indxbib/Makefile.sub Mon Feb 21 16:31:44 1994
- ***************
- *** 10,20 ****
- install_data: eign
- -test -d $(datadir) || mkdir $(datadir)
- -test -d $(datasubdir) || mkdir $(datasubdir)
- ! if test -f /usr/lib/eign; then \
- rm -f $(common_words_file); \
- ! ln -s /usr/lib/eign $(common_words_file) 2>/dev/null \
- ! || ln /usr/lib/eign $(common_words_file) 2>/dev/null \
- ! || cp /usr/lib/eign $(common_words_file); \
- else \
- rm -f $(common_words_file); \
- $(INSTALL_DATA) $(srcdir)/eign $(common_words_file); \
- --- 10,20 ----
- install_data: eign
- -test -d $(datadir) || mkdir $(datadir)
- -test -d $(datasubdir) || mkdir $(datasubdir)
- ! if test -f /gnu/lib/eign; then \
- rm -f $(common_words_file); \
- ! ln -s /gnu/lib/eign $(common_words_file) 2>/dev/null \
- ! || ln /gnu/lib/eign $(common_words_file) 2>/dev/null \
- ! || cp /gnu/lib/eign $(common_words_file); \
- else \
- rm -f $(common_words_file); \
- $(INSTALL_DATA) $(srcdir)/eign $(common_words_file); \
- diff -rc --new-file groff-1.09/indxbib/indxbib.cc /gnu/src/amiga/groff-1.09/indxbib/indxbib.cc
- *** groff-1.09/indxbib/indxbib.cc Thu Feb 3 09:34:30 1994
- --- /gnu/src/amiga/groff-1.09/indxbib/indxbib.cc Mon Feb 21 16:16:09 1994
- ***************
- *** 20,26 ****
-
- #include <stdio.h>
- #include <stdlib.h>
- ! #include <string.h>
- #include <assert.h>
- #include <errno.h>
-
- --- 20,26 ----
-
- #include <stdio.h>
- #include <stdlib.h>
- ! #include </gnu/include/string.h>
- #include <assert.h>
- #include <errno.h>
-
- diff -rc --new-file groff-1.09/libbib/index.cc /gnu/src/amiga/groff-1.09/libbib/index.cc
- *** groff-1.09/libbib/index.cc Sun Feb 13 10:24:49 1994
- --- /gnu/src/amiga/groff-1.09/libbib/index.cc Mon Feb 21 16:16:28 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include <string.h>
- #include <stdlib.h>
- #include <errno.h>
-
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <stdlib.h>
- #include <errno.h>
-
- diff -rc --new-file groff-1.09/libbib/linear.cc /gnu/src/amiga/groff-1.09/libbib/linear.cc
- *** groff-1.09/libbib/linear.cc Fri Feb 18 17:27:29 1994
- --- /gnu/src/amiga/groff-1.09/libbib/linear.cc Mon Feb 21 16:16:21 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-
- ! #include <string.h>
- #include <stdlib.h>
- #include <assert.h>
- #include <errno.h>
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-
- ! #include </gnu/include/string.h>
- #include <stdlib.h>
- #include <assert.h>
- #include <errno.h>
- diff -rc --new-file groff-1.09/libbib/search.cc /gnu/src/amiga/groff-1.09/libbib/search.cc
- *** groff-1.09/libbib/search.cc Tue Aug 25 15:03:41 1992
- --- /gnu/src/amiga/groff-1.09/libbib/search.cc Mon Feb 21 16:16:14 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdlib.h>
- ! #include <string.h>
- #include <assert.h>
- #include <errno.h>
-
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdlib.h>
- ! #include </gnu/include/string.h>
- #include <assert.h>
- #include <errno.h>
-
- diff -rc --new-file groff-1.09/libgroff/change_lf.cc /gnu/src/amiga/groff-1.09/libgroff/change_lf.cc
- *** groff-1.09/libgroff/change_lf.cc Mon Aug 3 10:34:52 1992
- --- /gnu/src/amiga/groff-1.09/libgroff/change_lf.cc Mon Feb 21 16:16:34 1994
- ***************
- *** 17,23 ****
- with groff; see the file COPYING. If not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- ! #include <string.h>
-
- extern char *strsave(const char *);
-
- --- 17,23 ----
- with groff; see the file COPYING. If not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- ! #include </gnu/include/string.h>
-
- extern char *strsave(const char *);
-
- diff -rc --new-file groff-1.09/libgroff/error.cc /gnu/src/amiga/groff-1.09/libgroff/error.cc
- *** groff-1.09/libgroff/error.cc Mon Aug 3 10:34:36 1992
- --- /gnu/src/amiga/groff-1.09/libgroff/error.cc Mon Feb 21 16:16:40 1994
- ***************
- *** 20,26 ****
-
- #include <stdio.h>
- #include <stdlib.h>
- ! #include <string.h>
- #include "errarg.h"
- #include "error.h"
-
- --- 20,26 ----
-
- #include <stdio.h>
- #include <stdlib.h>
- ! #include </gnu/include/string.h>
- #include "errarg.h"
- #include "error.h"
-
- diff -rc --new-file groff-1.09/libgroff/font.cc /gnu/src/amiga/groff-1.09/libgroff/font.cc
- *** groff-1.09/libgroff/font.cc Mon Feb 14 08:27:02 1994
- --- /gnu/src/amiga/groff-1.09/libgroff/font.cc Mon Feb 21 16:16:54 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include <string.h>
- #include <ctype.h>
- #include <assert.h>
- #include <math.h>
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <ctype.h>
- #include <assert.h>
- #include <math.h>
- diff -rc --new-file groff-1.09/libgroff/fontfile.cc /gnu/src/amiga/groff-1.09/libgroff/fontfile.cc
- *** groff-1.09/libgroff/fontfile.cc Mon Aug 3 10:35:02 1992
- --- /gnu/src/amiga/groff-1.09/libgroff/fontfile.cc Mon Feb 21 16:16:46 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include <string.h>
- #include <assert.h>
- #include <stdlib.h>
- #include <errno.h>
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <assert.h>
- #include <stdlib.h>
- #include <errno.h>
- diff -rc --new-file groff-1.09/libgroff/lf.cc /gnu/src/amiga/groff-1.09/libgroff/lf.cc
- *** groff-1.09/libgroff/lf.cc Mon Aug 3 10:35:03 1992
- --- /gnu/src/amiga/groff-1.09/libgroff/lf.cc Mon Feb 21 16:17:01 1994
- ***************
- *** 18,24 ****
- with groff; see the file COPYING. If not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- ! #include <string.h>
- #include <ctype.h>
- #include "cset.h"
- #include "stringclass.h"
- --- 18,24 ----
- with groff; see the file COPYING. If not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- ! #include </gnu/include/string.h>
- #include <ctype.h>
- #include "cset.h"
- #include "stringclass.h"
- diff -rc --new-file groff-1.09/libgroff/nametoindex.cc /gnu/src/amiga/groff-1.09/libgroff/nametoindex.cc
- *** groff-1.09/libgroff/nametoindex.cc Mon Aug 3 10:34:44 1992
- --- /gnu/src/amiga/groff-1.09/libgroff/nametoindex.cc Mon Feb 21 16:17:11 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include <string.h>
- #include <ctype.h>
- #include <assert.h>
- #include <stdlib.h>
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <ctype.h>
- #include <assert.h>
- #include <stdlib.h>
- diff -rc --new-file groff-1.09/libgroff/new.cc /gnu/src/amiga/groff-1.09/libgroff/new.cc
- *** groff-1.09/libgroff/new.cc Sun Feb 13 10:48:35 1994
- --- /gnu/src/amiga/groff-1.09/libgroff/new.cc Mon Feb 21 16:17:06 1994
- ***************
- *** 19,25 ****
-
- #include <stddef.h>
- #include <stdlib.h>
- ! #include <string.h>
-
- #include "posix.h"
-
- --- 19,25 ----
-
- #include <stddef.h>
- #include <stdlib.h>
- ! #include </gnu/include/string.h>
-
- #include "posix.h"
-
- diff -rc --new-file groff-1.09/libgroff/searchpath.cc /gnu/src/amiga/groff-1.09/libgroff/searchpath.cc
- *** groff-1.09/libgroff/searchpath.cc Mon Aug 3 10:34:46 1992
- --- /gnu/src/amiga/groff-1.09/libgroff/searchpath.cc Mon Feb 21 16:17:18 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include <string.h>
- #include <stdlib.h>
- #include <assert.h>
-
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <stdlib.h>
- #include <assert.h>
-
- diff -rc --new-file groff-1.09/libgroff/strsave.cc /gnu/src/amiga/groff-1.09/libgroff/strsave.cc
- *** groff-1.09/libgroff/strsave.cc Mon Aug 3 10:34:49 1992
- --- /gnu/src/amiga/groff-1.09/libgroff/strsave.cc Mon Feb 21 16:17:25 1994
- ***************
- *** 18,24 ****
- with groff; see the file COPYING. If not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- ! #include <string.h>
-
- char *strsave(const char *s)
- {
- --- 18,24 ----
- with groff; see the file COPYING. If not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- ! #include </gnu/include/string.h>
-
- char *strsave(const char *s)
- {
- diff -rc --new-file groff-1.09/libgroff/tmpfile.cc /gnu/src/amiga/groff-1.09/libgroff/tmpfile.cc
- *** groff-1.09/libgroff/tmpfile.cc Tue Aug 25 15:03:31 1992
- --- /gnu/src/amiga/groff-1.09/libgroff/tmpfile.cc Mon Feb 21 16:17:30 1994
- ***************
- *** 20,26 ****
-
- #include <stdio.h>
- #include <errno.h>
- ! #include <string.h>
- #include <stdlib.h>
-
- #include "posix.h"
- --- 20,26 ----
-
- #include <stdio.h>
- #include <errno.h>
- ! #include </gnu/include/string.h>
- #include <stdlib.h>
-
- #include "posix.h"
- diff -rc --new-file groff-1.09/lkbib/lkbib.cc /gnu/src/amiga/groff-1.09/lkbib/lkbib.cc
- *** groff-1.09/lkbib/lkbib.cc Thu May 27 22:29:33 1993
- --- /gnu/src/amiga/groff-1.09/lkbib/lkbib.cc Mon Feb 21 16:17:56 1994
- ***************
- *** 21,27 ****
- #include <stdlib.h>
- #include <stdio.h>
- #include <errno.h>
- ! #include <string.h>
- #include <assert.h>
-
- #include "lib.h"
- --- 21,27 ----
- #include <stdlib.h>
- #include <stdio.h>
- #include <errno.h>
- ! #include </gnu/include/string.h>
- #include <assert.h>
-
- #include "lib.h"
- diff -rc --new-file groff-1.09/lookbib/lookbib.cc /gnu/src/amiga/groff-1.09/lookbib/lookbib.cc
- *** groff-1.09/lookbib/lookbib.cc Thu May 27 22:29:38 1993
- --- /gnu/src/amiga/groff-1.09/lookbib/lookbib.cc Mon Feb 21 16:18:01 1994
- ***************
- *** 20,26 ****
-
- #include <stdio.h>
- #include <stdlib.h>
- ! #include <string.h>
- #include <assert.h>
- #include <errno.h>
-
- --- 20,26 ----
-
- #include <stdio.h>
- #include <stdlib.h>
- ! #include </gnu/include/string.h>
- #include <assert.h>
- #include <errno.h>
-
- diff -rc --new-file groff-1.09/mm/tmac.m /gnu/src/amiga/groff-1.09/mm/tmac.m
- *** groff-1.09/mm/tmac.m Mon Feb 14 08:42:46 1994
- --- /gnu/src/amiga/groff-1.09/mm/tmac.m Mon Feb 21 16:31:58 1994
- ***************
- *** 131,137 ****
- .\"
- .\" These two are for cover macro .MT
- .\" Change @langage in the national file.
- ! .ds @cur-lib /usr/local/lib/groff/tmac
- .\" .ds @language
- .\"
- .\" Current pointsize and vertical space, always in points.
- --- 131,137 ----
- .\"
- .\" These two are for cover macro .MT
- .\" Change @langage in the national file.
- ! .ds @cur-lib /gnu/lib/groff/tmac
- .\" .ds @language
- .\"
- .\" Current pointsize and vertical space, always in points.
- diff -rc --new-file groff-1.09/nroff/Makefile.sub /gnu/src/amiga/groff-1.09/nroff/Makefile.sub
- *** groff-1.09/nroff/Makefile.sub Mon Apr 19 08:46:21 1993
- --- /gnu/src/amiga/groff-1.09/nroff/Makefile.sub Sat Jul 9 13:53:05 1994
- ***************
- *** 1,3 ****
- --- 1,4 ----
- + PROG=nroff
- MAN1=nroff.n
- NAMEPREFIX=$(g)
- CLEANADD=nroff
- diff -rc --new-file groff-1.09/pic/make-dos-dist /gnu/src/amiga/groff-1.09/pic/make-dos-dist
- *** groff-1.09/pic/make-dos-dist Thu May 27 19:57:13 1993
- --- /gnu/src/amiga/groff-1.09/pic/make-dos-dist Mon Feb 21 16:09:10 1994
- ***************
- *** 132,138 ****
- /* Derived from comp.sources.unix/volume3/att_getopt. */
-
- #include <stdio.h>
- ! #include <string.h>
- #include <ctype.h>
-
- #ifdef SWITCHAR
- --- 132,138 ----
- /* Derived from comp.sources.unix/volume3/att_getopt. */
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <ctype.h>
-
- #ifdef SWITCHAR
- diff -rc --new-file groff-1.09/pic/pic.cc /gnu/src/amiga/groff-1.09/pic/pic.cc
- *** groff-1.09/pic/pic.cc Sun Feb 13 10:26:46 1994
- --- /gnu/src/amiga/groff-1.09/pic/pic.cc Wed May 4 11:34:59 1994
- ***************
- *** 2,8 ****
- static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/90";
- #endif
- #define YYBYACC 1
- ! #line 20 "/u/jjc/groff/pic/pic.y"
- #include "pic.h"
- #include "ptable.h"
- #include "object.h"
- --- 2,8 ----
- static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/90";
- #endif
- #define YYBYACC 1
- ! #line 20 "pic.y"
- #include "pic.h"
- #include "ptable.h"
- #include "object.h"
- ***************
- *** 53,59 ****
- char *format_number(const char *form, double n);
- char *do_sprintf(const char *form, const double *v, int nv);
-
- ! #line 73 "/u/jjc/groff/pic/pic.y"
- typedef union {
- char *str;
- int n;
- --- 53,59 ----
- char *format_number(const char *form, double n);
- char *do_sprintf(const char *form, const double *v, int nv);
-
- ! #line 73 "pic.y"
- typedef union {
- char *str;
- int n;
- ***************
- *** 3115,3121 ****
- short yyss[YYSTACKSIZE];
- YYSTYPE yyvs[YYSTACKSIZE];
- #define yystacksize YYSTACKSIZE
- ! #line 1514 "/u/jjc/groff/pic/pic.y"
-
- /* bison defines const to be empty unless __STDC__ is defined, which it
- isn't under cfront */
- --- 3115,3121 ----
- short yyss[YYSTACKSIZE];
- YYSTYPE yyvs[YYSTACKSIZE];
- #define yystacksize YYSTACKSIZE
- ! #line 1514 "pic.y"
-
- /* bison defines const to be empty unless __STDC__ is defined, which it
- isn't under cfront */
- ***************
- *** 3524,3556 ****
- switch (yyn)
- {
- case 2:
- ! #line 272 "/u/jjc/groff/pic/pic.y"
- {
- if (olist.head)
- print_picture(olist.head);
- }
- break;
- case 3:
- ! #line 281 "/u/jjc/groff/pic/pic.y"
- { yyval.pl = yyvsp[-1].pl; }
- break;
- case 4:
- ! #line 286 "/u/jjc/groff/pic/pic.y"
- { yyval.pl = yyvsp[0].pl; }
- break;
- case 5:
- ! #line 288 "/u/jjc/groff/pic/pic.y"
- { yyval.pl = yyvsp[-2].pl; }
- break;
- case 10:
- ! #line 303 "/u/jjc/groff/pic/pic.y"
- {
- define_variable(yyvsp[-2].str, yyvsp[0].x);
- a_delete yyvsp[-2].str;
- }
- break;
- case 11:
- ! #line 308 "/u/jjc/groff/pic/pic.y"
- {
- place *p = lookup_label(yyvsp[-3].str);
- if (!p) {
- --- 3524,3556 ----
- switch (yyn)
- {
- case 2:
- ! #line 272 "pic.y"
- {
- if (olist.head)
- print_picture(olist.head);
- }
- break;
- case 3:
- ! #line 281 "pic.y"
- { yyval.pl = yyvsp[-1].pl; }
- break;
- case 4:
- ! #line 286 "pic.y"
- { yyval.pl = yyvsp[0].pl; }
- break;
- case 5:
- ! #line 288 "pic.y"
- { yyval.pl = yyvsp[-2].pl; }
- break;
- case 10:
- ! #line 303 "pic.y"
- {
- define_variable(yyvsp[-2].str, yyvsp[0].x);
- a_delete yyvsp[-2].str;
- }
- break;
- case 11:
- ! #line 308 "pic.y"
- {
- place *p = lookup_label(yyvsp[-3].str);
- if (!p) {
- ***************
- *** 3564,3600 ****
- }
- break;
- case 12:
- ! #line 320 "/u/jjc/groff/pic/pic.y"
- { current_direction = UP_DIRECTION; }
- break;
- case 13:
- ! #line 322 "/u/jjc/groff/pic/pic.y"
- { current_direction = DOWN_DIRECTION; }
- break;
- case 14:
- ! #line 324 "/u/jjc/groff/pic/pic.y"
- { current_direction = LEFT_DIRECTION; }
- break;
- case 15:
- ! #line 326 "/u/jjc/groff/pic/pic.y"
- { current_direction = RIGHT_DIRECTION; }
- break;
- case 16:
- ! #line 328 "/u/jjc/groff/pic/pic.y"
- {
- olist.append(make_command_object(yyvsp[0].lstr.str, yyvsp[0].lstr.filename,
- yyvsp[0].lstr.lineno));
- }
- break;
- case 17:
- ! #line 333 "/u/jjc/groff/pic/pic.y"
- {
- olist.append(make_command_object(yyvsp[0].lstr.str, yyvsp[0].lstr.filename,
- yyvsp[0].lstr.lineno));
- }
- break;
- case 18:
- ! #line 338 "/u/jjc/groff/pic/pic.y"
- {
- fprintf(stderr, "%s\n", yyvsp[0].lstr.str);
- a_delete yyvsp[0].lstr.str;
- --- 3564,3600 ----
- }
- break;
- case 12:
- ! #line 320 "pic.y"
- { current_direction = UP_DIRECTION; }
- break;
- case 13:
- ! #line 322 "pic.y"
- { current_direction = DOWN_DIRECTION; }
- break;
- case 14:
- ! #line 324 "pic.y"
- { current_direction = LEFT_DIRECTION; }
- break;
- case 15:
- ! #line 326 "pic.y"
- { current_direction = RIGHT_DIRECTION; }
- break;
- case 16:
- ! #line 328 "pic.y"
- {
- olist.append(make_command_object(yyvsp[0].lstr.str, yyvsp[0].lstr.filename,
- yyvsp[0].lstr.lineno));
- }
- break;
- case 17:
- ! #line 333 "pic.y"
- {
- olist.append(make_command_object(yyvsp[0].lstr.str, yyvsp[0].lstr.filename,
- yyvsp[0].lstr.lineno));
- }
- break;
- case 18:
- ! #line 338 "pic.y"
- {
- fprintf(stderr, "%s\n", yyvsp[0].lstr.str);
- a_delete yyvsp[0].lstr.str;
- ***************
- *** 3602,3612 ****
- }
- break;
- case 19:
- ! #line 344 "/u/jjc/groff/pic/pic.y"
- { delim_flag = 1; }
- break;
- case 20:
- ! #line 346 "/u/jjc/groff/pic/pic.y"
- {
- delim_flag = 0;
- system(yyvsp[0].str);
- --- 3602,3612 ----
- }
- break;
- case 19:
- ! #line 344 "pic.y"
- { delim_flag = 1; }
- break;
- case 20:
- ! #line 346 "pic.y"
- {
- delim_flag = 0;
- system(yyvsp[0].str);
- ***************
- *** 3614,3620 ****
- }
- break;
- case 21:
- ! #line 352 "/u/jjc/groff/pic/pic.y"
- {
- if (yychar < 0)
- do_lookahead();
- --- 3614,3620 ----
- }
- break;
- case 21:
- ! #line 352 "pic.y"
- {
- if (yychar < 0)
- do_lookahead();
- ***************
- *** 3623,3637 ****
- }
- break;
- case 22:
- ! #line 359 "/u/jjc/groff/pic/pic.y"
- { delim_flag = 2; }
- break;
- case 23:
- ! #line 361 "/u/jjc/groff/pic/pic.y"
- { delim_flag = 0; }
- break;
- case 24:
- ! #line 363 "/u/jjc/groff/pic/pic.y"
- {
- if (yychar < 0)
- do_lookahead();
- --- 3623,3637 ----
- }
- break;
- case 22:
- ! #line 359 "pic.y"
- { delim_flag = 2; }
- break;
- case 23:
- ! #line 361 "pic.y"
- { delim_flag = 0; }
- break;
- case 24:
- ! #line 363 "pic.y"
- {
- if (yychar < 0)
- do_lookahead();
- ***************
- *** 3642,3656 ****
- }
- break;
- case 25:
- ! #line 372 "/u/jjc/groff/pic/pic.y"
- { delim_flag = 2; }
- break;
- case 26:
- ! #line 374 "/u/jjc/groff/pic/pic.y"
- { delim_flag = 0; }
- break;
- case 27:
- ! #line 376 "/u/jjc/groff/pic/pic.y"
- {
- if (yychar < 0)
- do_lookahead();
- --- 3642,3656 ----
- }
- break;
- case 25:
- ! #line 372 "pic.y"
- { delim_flag = 2; }
- break;
- case 26:
- ! #line 374 "pic.y"
- { delim_flag = 0; }
- break;
- case 27:
- ! #line 376 "pic.y"
- {
- if (yychar < 0)
- do_lookahead();
- ***************
- *** 3660,3670 ****
- }
- break;
- case 28:
- ! #line 384 "/u/jjc/groff/pic/pic.y"
- { delim_flag = 1; }
- break;
- case 29:
- ! #line 386 "/u/jjc/groff/pic/pic.y"
- {
- delim_flag = 0;
- if (yychar < 0)
- --- 3660,3670 ----
- }
- break;
- case 28:
- ! #line 384 "pic.y"
- { delim_flag = 1; }
- break;
- case 29:
- ! #line 386 "pic.y"
- {
- delim_flag = 0;
- if (yychar < 0)
- ***************
- *** 3673,3679 ****
- }
- break;
- case 30:
- ! #line 393 "/u/jjc/groff/pic/pic.y"
- {
- if (yychar < 0)
- do_lookahead();
- --- 3673,3679 ----
- }
- break;
- case 30:
- ! #line 393 "pic.y"
- {
- if (yychar < 0)
- do_lookahead();
- ***************
- *** 3683,3693 ****
- }
- break;
- case 31:
- ! #line 401 "/u/jjc/groff/pic/pic.y"
- { delim_flag = 1; }
- break;
- case 32:
- ! #line 403 "/u/jjc/groff/pic/pic.y"
- {
- delim_flag = 0;
- if (yychar < 0)
- --- 3683,3693 ----
- }
- break;
- case 31:
- ! #line 401 "pic.y"
- { delim_flag = 1; }
- break;
- case 32:
- ! #line 403 "pic.y"
- {
- delim_flag = 0;
- if (yychar < 0)
- ***************
- *** 3701,3727 ****
- }
- break;
- case 34:
- ! #line 416 "/u/jjc/groff/pic/pic.y"
- { define_variable("scale", 1.0); }
- break;
- case 35:
- ! #line 421 "/u/jjc/groff/pic/pic.y"
- { reset(yyvsp[0].str); a_delete yyvsp[0].str; }
- break;
- case 36:
- ! #line 423 "/u/jjc/groff/pic/pic.y"
- { reset(yyvsp[0].str); a_delete yyvsp[0].str; }
- break;
- case 37:
- ! #line 425 "/u/jjc/groff/pic/pic.y"
- { reset(yyvsp[0].str); a_delete yyvsp[0].str; }
- break;
- case 38:
- ! #line 430 "/u/jjc/groff/pic/pic.y"
- { yyval.lstr = yyvsp[0].lstr; }
- break;
- case 39:
- ! #line 432 "/u/jjc/groff/pic/pic.y"
- {
- yyval.lstr.str = new char[strlen(yyvsp[-1].lstr.str) + strlen(yyvsp[0].lstr.str) + 1];
- strcpy(yyval.lstr.str, yyvsp[-1].lstr.str);
- --- 3701,3727 ----
- }
- break;
- case 34:
- ! #line 416 "pic.y"
- { define_variable("scale", 1.0); }
- break;
- case 35:
- ! #line 421 "pic.y"
- { reset(yyvsp[0].str); a_delete yyvsp[0].str; }
- break;
- case 36:
- ! #line 423 "pic.y"
- { reset(yyvsp[0].str); a_delete yyvsp[0].str; }
- break;
- case 37:
- ! #line 425 "pic.y"
- { reset(yyvsp[0].str); a_delete yyvsp[0].str; }
- break;
- case 38:
- ! #line 430 "pic.y"
- { yyval.lstr = yyvsp[0].lstr; }
- break;
- case 39:
- ! #line 432 "pic.y"
- {
- yyval.lstr.str = new char[strlen(yyvsp[-1].lstr.str) + strlen(yyvsp[0].lstr.str) + 1];
- strcpy(yyval.lstr.str, yyvsp[-1].lstr.str);
- ***************
- *** 3739,3745 ****
- }
- break;
- case 40:
- ! #line 451 "/u/jjc/groff/pic/pic.y"
- {
- yyval.lstr.str = new char[GDIGITS + 1];
- sprintf(yyval.lstr.str, "%g", yyvsp[0].x);
- --- 3739,3745 ----
- }
- break;
- case 40:
- ! #line 451 "pic.y"
- {
- yyval.lstr.str = new char[GDIGITS + 1];
- sprintf(yyval.lstr.str, "%g", yyvsp[0].x);
- ***************
- *** 3748,3758 ****
- }
- break;
- case 41:
- ! #line 458 "/u/jjc/groff/pic/pic.y"
- { yyval.lstr = yyvsp[0].lstr; }
- break;
- case 42:
- ! #line 460 "/u/jjc/groff/pic/pic.y"
- {
- yyval.lstr.str = new char[GDIGITS + 2 + GDIGITS + 1];
- sprintf(yyval.lstr.str, "%g, %g", yyvsp[0].pair.x, yyvsp[0].pair.y);
- --- 3748,3758 ----
- }
- break;
- case 41:
- ! #line 458 "pic.y"
- { yyval.lstr = yyvsp[0].lstr; }
- break;
- case 42:
- ! #line 460 "pic.y"
- {
- yyval.lstr.str = new char[GDIGITS + 2 + GDIGITS + 1];
- sprintf(yyval.lstr.str, "%g, %g", yyvsp[0].pair.x, yyvsp[0].pair.y);
- ***************
- *** 3761,3791 ****
- }
- break;
- case 43:
- ! #line 469 "/u/jjc/groff/pic/pic.y"
- { delim_flag = 1; }
- break;
- case 44:
- ! #line 471 "/u/jjc/groff/pic/pic.y"
- { delim_flag = 0; yyval.if_data.x = yyvsp[-3].x; yyval.if_data.body = yyvsp[0].str; }
- break;
- case 45:
- ! #line 476 "/u/jjc/groff/pic/pic.y"
- { yyval.str = 0; }
- break;
- case 46:
- ! #line 478 "/u/jjc/groff/pic/pic.y"
- { yyval.str = yyvsp[0].lstr.str; }
- break;
- case 47:
- ! #line 483 "/u/jjc/groff/pic/pic.y"
- { yyval.x = yyvsp[0].x; }
- break;
- case 48:
- ! #line 485 "/u/jjc/groff/pic/pic.y"
- { yyval.x = yyvsp[0].x; }
- break;
- case 49:
- ! #line 490 "/u/jjc/groff/pic/pic.y"
- {
- yyval.x = strcmp(yyvsp[-2].lstr.str, yyvsp[0].lstr.str) == 0;
- a_delete yyvsp[-2].lstr.str;
- --- 3761,3791 ----
- }
- break;
- case 43:
- ! #line 469 "pic.y"
- { delim_flag = 1; }
- break;
- case 44:
- ! #line 471 "pic.y"
- { delim_flag = 0; yyval.if_data.x = yyvsp[-3].x; yyval.if_data.body = yyvsp[0].str; }
- break;
- case 45:
- ! #line 476 "pic.y"
- { yyval.str = 0; }
- break;
- case 46:
- ! #line 478 "pic.y"
- { yyval.str = yyvsp[0].lstr.str; }
- break;
- case 47:
- ! #line 483 "pic.y"
- { yyval.x = yyvsp[0].x; }
- break;
- case 48:
- ! #line 485 "pic.y"
- { yyval.x = yyvsp[0].x; }
- break;
- case 49:
- ! #line 490 "pic.y"
- {
- yyval.x = strcmp(yyvsp[-2].lstr.str, yyvsp[0].lstr.str) == 0;
- a_delete yyvsp[-2].lstr.str;
- ***************
- *** 3793,3799 ****
- }
- break;
- case 50:
- ! #line 496 "/u/jjc/groff/pic/pic.y"
- {
- yyval.x = strcmp(yyvsp[-2].lstr.str, yyvsp[0].lstr.str) != 0;
- a_delete yyvsp[-2].lstr.str;
- --- 3793,3799 ----
- }
- break;
- case 50:
- ! #line 496 "pic.y"
- {
- yyval.x = strcmp(yyvsp[-2].lstr.str, yyvsp[0].lstr.str) != 0;
- a_delete yyvsp[-2].lstr.str;
- ***************
- *** 3801,3847 ****
- }
- break;
- case 51:
- ! #line 502 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 && yyvsp[0].x != 0.0); }
- break;
- case 52:
- ! #line 504 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 && yyvsp[0].x != 0.0); }
- break;
- case 53:
- ! #line 506 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 && yyvsp[0].x != 0.0); }
- break;
- case 54:
- ! #line 508 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 || yyvsp[0].x != 0.0); }
- break;
- case 55:
- ! #line 510 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 || yyvsp[0].x != 0.0); }
- break;
- case 56:
- ! #line 512 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 || yyvsp[0].x != 0.0); }
- break;
- case 57:
- ! #line 514 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[0].x == 0.0); }
- break;
- case 58:
- ! #line 520 "/u/jjc/groff/pic/pic.y"
- { yyval.by.val = 1.0; yyval.by.is_multiplicative = 0; }
- break;
- case 59:
- ! #line 522 "/u/jjc/groff/pic/pic.y"
- { yyval.by.val = yyvsp[0].x; yyval.by.is_multiplicative = 0; }
- break;
- case 60:
- ! #line 524 "/u/jjc/groff/pic/pic.y"
- { yyval.by.val = yyvsp[0].x; yyval.by.is_multiplicative = 1; }
- break;
- case 61:
- ! #line 529 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pl.obj = yyvsp[0].spec->make_object(¤t_position,
- ¤t_direction);
- --- 3801,3847 ----
- }
- break;
- case 51:
- ! #line 502 "pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 && yyvsp[0].x != 0.0); }
- break;
- case 52:
- ! #line 504 "pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 && yyvsp[0].x != 0.0); }
- break;
- case 53:
- ! #line 506 "pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 && yyvsp[0].x != 0.0); }
- break;
- case 54:
- ! #line 508 "pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 || yyvsp[0].x != 0.0); }
- break;
- case 55:
- ! #line 510 "pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 || yyvsp[0].x != 0.0); }
- break;
- case 56:
- ! #line 512 "pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 || yyvsp[0].x != 0.0); }
- break;
- case 57:
- ! #line 514 "pic.y"
- { yyval.x = (yyvsp[0].x == 0.0); }
- break;
- case 58:
- ! #line 520 "pic.y"
- { yyval.by.val = 1.0; yyval.by.is_multiplicative = 0; }
- break;
- case 59:
- ! #line 522 "pic.y"
- { yyval.by.val = yyvsp[0].x; yyval.by.is_multiplicative = 0; }
- break;
- case 60:
- ! #line 524 "pic.y"
- { yyval.by.val = yyvsp[0].x; yyval.by.is_multiplicative = 1; }
- break;
- case 61:
- ! #line 529 "pic.y"
- {
- yyval.pl.obj = yyvsp[0].spec->make_object(¤t_position,
- ¤t_direction);
- ***************
- *** 3857,3867 ****
- }
- break;
- case 62:
- ! #line 543 "/u/jjc/groff/pic/pic.y"
- { yyval.pl = yyvsp[0].pl; define_label(yyvsp[-3].str, & yyval.pl); a_delete yyvsp[-3].str; }
- break;
- case 63:
- ! #line 545 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pl.obj = 0;
- yyval.pl.x = yyvsp[0].pair.x;
- --- 3857,3867 ----
- }
- break;
- case 62:
- ! #line 543 "pic.y"
- { yyval.pl = yyvsp[0].pl; define_label(yyvsp[-3].str, & yyval.pl); a_delete yyvsp[-3].str; }
- break;
- case 63:
- ! #line 545 "pic.y"
- {
- yyval.pl.obj = 0;
- yyval.pl.x = yyvsp[0].pair.x;
- ***************
- *** 3871,3877 ****
- }
- break;
- case 64:
- ! #line 553 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pl = yyvsp[0].pl;
- define_label(yyvsp[-3].str, & yyval.pl);
- --- 3871,3877 ----
- }
- break;
- case 64:
- ! #line 553 "pic.y"
- {
- yyval.pl = yyvsp[0].pl;
- define_label(yyvsp[-3].str, & yyval.pl);
- ***************
- *** 3879,3885 ****
- }
- break;
- case 65:
- ! #line 559 "/u/jjc/groff/pic/pic.y"
- {
- yyval.state.x = current_position.x;
- yyval.state.y = current_position.y;
- --- 3879,3885 ----
- }
- break;
- case 65:
- ! #line 559 "pic.y"
- {
- yyval.state.x = current_position.x;
- yyval.state.y = current_position.y;
- ***************
- *** 3887,3893 ****
- }
- break;
- case 66:
- ! #line 565 "/u/jjc/groff/pic/pic.y"
- {
- current_position.x = yyvsp[-2].state.x;
- current_position.y = yyvsp[-2].state.y;
- --- 3887,3893 ----
- }
- break;
- case 66:
- ! #line 565 "pic.y"
- {
- current_position.x = yyvsp[-2].state.x;
- current_position.y = yyvsp[-2].state.y;
- ***************
- *** 3895,3907 ****
- }
- break;
- case 67:
- ! #line 571 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pl = yyvsp[-3].pl;
- }
- break;
- case 68:
- ! #line 575 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pl.obj = 0;
- yyval.pl.x = current_position.x;
- --- 3895,3907 ----
- }
- break;
- case 67:
- ! #line 571 "pic.y"
- {
- yyval.pl = yyvsp[-3].pl;
- }
- break;
- case 68:
- ! #line 575 "pic.y"
- {
- yyval.pl.obj = 0;
- yyval.pl.x = current_position.x;
- ***************
- *** 3909,3948 ****
- }
- break;
- case 69:
- ! #line 584 "/u/jjc/groff/pic/pic.y"
- {}
- break;
- case 70:
- ! #line 586 "/u/jjc/groff/pic/pic.y"
- {}
- break;
- case 71:
- ! #line 591 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(BOX_OBJECT);
- }
- break;
- case 72:
- ! #line 595 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(CIRCLE_OBJECT);
- }
- break;
- case 73:
- ! #line 599 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(ELLIPSE_OBJECT);
- }
- break;
- case 74:
- ! #line 603 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(ARC_OBJECT);
- yyval.spec->dir = current_direction;
- }
- break;
- case 75:
- ! #line 608 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(LINE_OBJECT);
- lookup_variable("lineht", & yyval.spec->segment_height);
- --- 3909,3948 ----
- }
- break;
- case 69:
- ! #line 584 "pic.y"
- {}
- break;
- case 70:
- ! #line 586 "pic.y"
- {}
- break;
- case 71:
- ! #line 591 "pic.y"
- {
- yyval.spec = new object_spec(BOX_OBJECT);
- }
- break;
- case 72:
- ! #line 595 "pic.y"
- {
- yyval.spec = new object_spec(CIRCLE_OBJECT);
- }
- break;
- case 73:
- ! #line 599 "pic.y"
- {
- yyval.spec = new object_spec(ELLIPSE_OBJECT);
- }
- break;
- case 74:
- ! #line 603 "pic.y"
- {
- yyval.spec = new object_spec(ARC_OBJECT);
- yyval.spec->dir = current_direction;
- }
- break;
- case 75:
- ! #line 608 "pic.y"
- {
- yyval.spec = new object_spec(LINE_OBJECT);
- lookup_variable("lineht", & yyval.spec->segment_height);
- ***************
- *** 3951,3957 ****
- }
- break;
- case 76:
- ! #line 615 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(ARROW_OBJECT);
- lookup_variable("lineht", & yyval.spec->segment_height);
- --- 3951,3957 ----
- }
- break;
- case 76:
- ! #line 615 "pic.y"
- {
- yyval.spec = new object_spec(ARROW_OBJECT);
- lookup_variable("lineht", & yyval.spec->segment_height);
- ***************
- *** 3960,3966 ****
- }
- break;
- case 77:
- ! #line 622 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(MOVE_OBJECT);
- lookup_variable("moveht", & yyval.spec->segment_height);
- --- 3960,3966 ----
- }
- break;
- case 77:
- ! #line 622 "pic.y"
- {
- yyval.spec = new object_spec(MOVE_OBJECT);
- lookup_variable("moveht", & yyval.spec->segment_height);
- ***************
- *** 3969,3975 ****
- }
- break;
- case 78:
- ! #line 629 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(SPLINE_OBJECT);
- lookup_variable("lineht", & yyval.spec->segment_height);
- --- 3969,3975 ----
- }
- break;
- case 78:
- ! #line 629 "pic.y"
- {
- yyval.spec = new object_spec(SPLINE_OBJECT);
- lookup_variable("lineht", & yyval.spec->segment_height);
- ***************
- *** 3978,3998 ****
- }
- break;
- case 79:
- ! #line 636 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(TEXT_OBJECT);
- yyval.spec->text = new text_item(yyvsp[0].lstr.str, yyvsp[0].lstr.filename, yyvsp[0].lstr.lineno);
- }
- break;
- case 80:
- ! #line 641 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(TEXT_OBJECT);
- yyval.spec->text = new text_item(format_number(0, yyvsp[0].x), 0, -1);
- }
- break;
- case 81:
- ! #line 646 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = new object_spec(TEXT_OBJECT);
- yyval.spec->text = new text_item(format_number(yyvsp[0].lstr.str, yyvsp[-1].x),
- --- 3978,3998 ----
- }
- break;
- case 79:
- ! #line 636 "pic.y"
- {
- yyval.spec = new object_spec(TEXT_OBJECT);
- yyval.spec->text = new text_item(yyvsp[0].lstr.str, yyvsp[0].lstr.filename, yyvsp[0].lstr.lineno);
- }
- break;
- case 80:
- ! #line 641 "pic.y"
- {
- yyval.spec = new object_spec(TEXT_OBJECT);
- yyval.spec->text = new text_item(format_number(0, yyvsp[0].x), 0, -1);
- }
- break;
- case 81:
- ! #line 646 "pic.y"
- {
- yyval.spec = new object_spec(TEXT_OBJECT);
- yyval.spec->text = new text_item(format_number(yyvsp[0].lstr.str, yyvsp[-1].x),
- ***************
- *** 4001,4007 ****
- }
- break;
- case 82:
- ! #line 653 "/u/jjc/groff/pic/pic.y"
- {
- saved_state *p = new saved_state;
- yyval.pstate = p;
- --- 4001,4007 ----
- }
- break;
- case 82:
- ! #line 653 "pic.y"
- {
- saved_state *p = new saved_state;
- yyval.pstate = p;
- ***************
- *** 4018,4024 ****
- }
- break;
- case 83:
- ! #line 668 "/u/jjc/groff/pic/pic.y"
- {
- current_position.x = yyvsp[-2].pstate->x;
- current_position.y = yyvsp[-2].pstate->y;
- --- 4018,4024 ----
- }
- break;
- case 83:
- ! #line 668 "pic.y"
- {
- current_position.x = yyvsp[-2].pstate->x;
- current_position.y = yyvsp[-2].pstate->y;
- ***************
- *** 4032,4038 ****
- }
- break;
- case 84:
- ! #line 680 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->height = yyvsp[0].x;
- --- 4032,4038 ----
- }
- break;
- case 84:
- ! #line 680 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->height = yyvsp[0].x;
- ***************
- *** 4040,4046 ****
- }
- break;
- case 85:
- ! #line 686 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->radius = yyvsp[0].x;
- --- 4040,4046 ----
- }
- break;
- case 85:
- ! #line 686 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->radius = yyvsp[0].x;
- ***************
- *** 4048,4054 ****
- }
- break;
- case 86:
- ! #line 692 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->width = yyvsp[0].x;
- --- 4048,4054 ----
- }
- break;
- case 86:
- ! #line 692 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->width = yyvsp[0].x;
- ***************
- *** 4056,4062 ****
- }
- break;
- case 87:
- ! #line 698 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->radius = yyvsp[0].x/2.0;
- --- 4056,4062 ----
- }
- break;
- case 87:
- ! #line 698 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->radius = yyvsp[0].x/2.0;
- ***************
- *** 4064,4070 ****
- }
- break;
- case 88:
- ! #line 704 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= HAS_SEGMENT;
- --- 4064,4070 ----
- }
- break;
- case 88:
- ! #line 704 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= HAS_SEGMENT;
- ***************
- *** 4085,4091 ****
- }
- break;
- case 89:
- ! #line 723 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->dir = UP_DIRECTION;
- --- 4085,4091 ----
- }
- break;
- case 89:
- ! #line 723 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->dir = UP_DIRECTION;
- ***************
- *** 4094,4100 ****
- }
- break;
- case 90:
- ! #line 730 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->dir = UP_DIRECTION;
- --- 4094,4100 ----
- }
- break;
- case 90:
- ! #line 730 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->dir = UP_DIRECTION;
- ***************
- *** 4103,4109 ****
- }
- break;
- case 91:
- ! #line 737 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->dir = DOWN_DIRECTION;
- --- 4103,4109 ----
- }
- break;
- case 91:
- ! #line 737 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->dir = DOWN_DIRECTION;
- ***************
- *** 4112,4118 ****
- }
- break;
- case 92:
- ! #line 744 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->dir = DOWN_DIRECTION;
- --- 4112,4118 ----
- }
- break;
- case 92:
- ! #line 744 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->dir = DOWN_DIRECTION;
- ***************
- *** 4121,4127 ****
- }
- break;
- case 93:
- ! #line 751 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->dir = RIGHT_DIRECTION;
- --- 4121,4127 ----
- }
- break;
- case 93:
- ! #line 751 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->dir = RIGHT_DIRECTION;
- ***************
- *** 4130,4136 ****
- }
- break;
- case 94:
- ! #line 758 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->dir = RIGHT_DIRECTION;
- --- 4130,4136 ----
- }
- break;
- case 94:
- ! #line 758 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->dir = RIGHT_DIRECTION;
- ***************
- *** 4139,4145 ****
- }
- break;
- case 95:
- ! #line 765 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->dir = LEFT_DIRECTION;
- --- 4139,4145 ----
- }
- break;
- case 95:
- ! #line 765 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->dir = LEFT_DIRECTION;
- ***************
- *** 4148,4154 ****
- }
- break;
- case 96:
- ! #line 772 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->dir = LEFT_DIRECTION;
- --- 4148,4154 ----
- }
- break;
- case 96:
- ! #line 772 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->dir = LEFT_DIRECTION;
- ***************
- *** 4157,4163 ****
- }
- break;
- case 97:
- ! #line 779 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_FROM;
- --- 4157,4163 ----
- }
- break;
- case 97:
- ! #line 779 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_FROM;
- ***************
- *** 4166,4172 ****
- }
- break;
- case 98:
- ! #line 786 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- if (yyval.spec->flags & HAS_SEGMENT)
- --- 4166,4172 ----
- }
- break;
- case 98:
- ! #line 786 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- if (yyval.spec->flags & HAS_SEGMENT)
- ***************
- *** 4183,4189 ****
- }
- break;
- case 99:
- ! #line 801 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_AT;
- --- 4183,4189 ----
- }
- break;
- case 99:
- ! #line 801 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_AT;
- ***************
- *** 4197,4203 ****
- }
- break;
- case 100:
- ! #line 813 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_WITH;
- --- 4197,4203 ----
- }
- break;
- case 100:
- ! #line 813 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_WITH;
- ***************
- *** 4205,4211 ****
- }
- break;
- case 101:
- ! #line 819 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_SEGMENT;
- --- 4205,4211 ----
- }
- break;
- case 101:
- ! #line 819 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_SEGMENT;
- ***************
- *** 4214,4220 ****
- }
- break;
- case 102:
- ! #line 826 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->flags & HAS_SEGMENT) {
- --- 4214,4220 ----
- }
- break;
- case 102:
- ! #line 826 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->flags & HAS_SEGMENT) {
- ***************
- *** 4228,4234 ****
- }
- break;
- case 103:
- ! #line 838 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_DOTTED;
- --- 4228,4234 ----
- }
- break;
- case 103:
- ! #line 838 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_DOTTED;
- ***************
- *** 4236,4242 ****
- }
- break;
- case 104:
- ! #line 844 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= IS_DOTTED;
- --- 4236,4242 ----
- }
- break;
- case 104:
- ! #line 844 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= IS_DOTTED;
- ***************
- *** 4244,4250 ****
- }
- break;
- case 105:
- ! #line 850 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_DASHED;
- --- 4244,4250 ----
- }
- break;
- case 105:
- ! #line 850 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_DASHED;
- ***************
- *** 4252,4258 ****
- }
- break;
- case 106:
- ! #line 856 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= IS_DASHED;
- --- 4252,4258 ----
- }
- break;
- case 106:
- ! #line 856 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= IS_DASHED;
- ***************
- *** 4260,4273 ****
- }
- break;
- case 107:
- ! #line 862 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_DEFAULT_FILLED;
- }
- break;
- case 108:
- ! #line 867 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= IS_FILLED;
- --- 4260,4273 ----
- }
- break;
- case 107:
- ! #line 862 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_DEFAULT_FILLED;
- }
- break;
- case 108:
- ! #line 867 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= IS_FILLED;
- ***************
- *** 4275,4281 ****
- }
- break;
- case 109:
- ! #line 873 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- /* line chop chop means line chop 0 chop 0*/
- --- 4275,4281 ----
- }
- break;
- case 109:
- ! #line 873 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- /* line chop chop means line chop 0 chop 0*/
- ***************
- *** 4293,4299 ****
- }
- break;
- case 110:
- ! #line 889 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- if (yyval.spec->flags & IS_DEFAULT_CHOPPED) {
- --- 4293,4299 ----
- }
- break;
- case 110:
- ! #line 889 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- if (yyval.spec->flags & IS_DEFAULT_CHOPPED) {
- ***************
- *** 4312,4367 ****
- }
- break;
- case 111:
- ! #line 906 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_SAME;
- }
- break;
- case 112:
- ! #line 911 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_INVISIBLE;
- }
- break;
- case 113:
- ! #line 916 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= HAS_LEFT_ARROW_HEAD;
- }
- break;
- case 114:
- ! #line 921 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= HAS_RIGHT_ARROW_HEAD;
- }
- break;
- case 115:
- ! #line 926 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= (HAS_LEFT_ARROW_HEAD|HAS_RIGHT_ARROW_HEAD);
- }
- break;
- case 116:
- ! #line 931 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_CLOCKWISE;
- }
- break;
- case 117:
- ! #line 936 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags &= ~IS_CLOCKWISE;
- }
- break;
- case 118:
- ! #line 941 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- for (text_item **p = & yyval.spec->text; *p; p = &(*p)->next)
- --- 4312,4367 ----
- }
- break;
- case 111:
- ! #line 906 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_SAME;
- }
- break;
- case 112:
- ! #line 911 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_INVISIBLE;
- }
- break;
- case 113:
- ! #line 916 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= HAS_LEFT_ARROW_HEAD;
- }
- break;
- case 114:
- ! #line 921 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= HAS_RIGHT_ARROW_HEAD;
- }
- break;
- case 115:
- ! #line 926 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= (HAS_LEFT_ARROW_HEAD|HAS_RIGHT_ARROW_HEAD);
- }
- break;
- case 116:
- ! #line 931 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_CLOCKWISE;
- }
- break;
- case 117:
- ! #line 936 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags &= ~IS_CLOCKWISE;
- }
- break;
- case 118:
- ! #line 941 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- for (text_item **p = & yyval.spec->text; *p; p = &(*p)->next)
- ***************
- *** 4370,4376 ****
- }
- break;
- case 119:
- ! #line 948 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->text) {
- --- 4370,4376 ----
- }
- break;
- case 119:
- ! #line 948 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->text) {
- ***************
- *** 4381,4387 ****
- }
- break;
- case 120:
- ! #line 957 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->text) {
- --- 4381,4387 ----
- }
- break;
- case 120:
- ! #line 957 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->text) {
- ***************
- *** 4392,4398 ****
- }
- break;
- case 121:
- ! #line 966 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->text) {
- --- 4392,4398 ----
- }
- break;
- case 121:
- ! #line 966 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->text) {
- ***************
- *** 4403,4409 ****
- }
- break;
- case 122:
- ! #line 975 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->text) {
- --- 4403,4409 ----
- }
- break;
- case 122:
- ! #line 975 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- if (yyval.spec->text) {
- ***************
- *** 4414,4420 ****
- }
- break;
- case 123:
- ! #line 984 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_THICKNESS;
- --- 4414,4420 ----
- }
- break;
- case 123:
- ! #line 984 "pic.y"
- {
- yyval.spec = yyvsp[-2].spec;
- yyval.spec->flags |= HAS_THICKNESS;
- ***************
- *** 4422,4441 ****
- }
- break;
- case 124:
- ! #line 990 "/u/jjc/groff/pic/pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_ALIGNED;
- }
- break;
- case 125:
- ! #line 998 "/u/jjc/groff/pic/pic.y"
- {
- yyval.lstr = yyvsp[0].lstr;
- }
- break;
- case 126:
- ! #line 1002 "/u/jjc/groff/pic/pic.y"
- {
- yyval.lstr.filename = yyvsp[-2].lstr.filename;
- yyval.lstr.lineno = yyvsp[-2].lstr.lineno;
- --- 4422,4441 ----
- }
- break;
- case 124:
- ! #line 990 "pic.y"
- {
- yyval.spec = yyvsp[-1].spec;
- yyval.spec->flags |= IS_ALIGNED;
- }
- break;
- case 125:
- ! #line 998 "pic.y"
- {
- yyval.lstr = yyvsp[0].lstr;
- }
- break;
- case 126:
- ! #line 1002 "pic.y"
- {
- yyval.lstr.filename = yyvsp[-2].lstr.filename;
- yyval.lstr.lineno = yyvsp[-2].lstr.lineno;
- ***************
- *** 4445,4451 ****
- }
- break;
- case 127:
- ! #line 1013 "/u/jjc/groff/pic/pic.y"
- {
- yyval.dv.v = 0;
- yyval.dv.nv = 0;
- --- 4445,4451 ----
- }
- break;
- case 127:
- ! #line 1013 "pic.y"
- {
- yyval.dv.v = 0;
- yyval.dv.nv = 0;
- ***************
- *** 4453,4459 ****
- }
- break;
- case 128:
- ! #line 1019 "/u/jjc/groff/pic/pic.y"
- {
- yyval.dv = yyvsp[-2].dv;
- if (yyval.dv.nv >= yyval.dv.maxv) {
- --- 4453,4459 ----
- }
- break;
- case 128:
- ! #line 1019 "pic.y"
- {
- yyval.dv = yyvsp[-2].dv;
- if (yyval.dv.nv >= yyval.dv.maxv) {
- ***************
- *** 4474,4484 ****
- }
- break;
- case 129:
- ! #line 1041 "/u/jjc/groff/pic/pic.y"
- { yyval.pair = yyvsp[0].pair; }
- break;
- case 130:
- ! #line 1043 "/u/jjc/groff/pic/pic.y"
- {
- position pos = yyvsp[0].pl;
- yyval.pair.x = pos.x;
- --- 4474,4484 ----
- }
- break;
- case 129:
- ! #line 1041 "pic.y"
- { yyval.pair = yyvsp[0].pair; }
- break;
- case 130:
- ! #line 1043 "pic.y"
- {
- position pos = yyvsp[0].pl;
- yyval.pair.x = pos.x;
- ***************
- *** 4486,4543 ****
- }
- break;
- case 131:
- ! #line 1052 "/u/jjc/groff/pic/pic.y"
- { yyval.pair = yyvsp[0].pair; }
- break;
- case 132:
- ! #line 1054 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pair.x = yyvsp[-2].pair.x + yyvsp[0].pair.x;
- yyval.pair.y = yyvsp[-2].pair.y + yyvsp[0].pair.y;
- }
- break;
- case 133:
- ! #line 1059 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pair.x = yyvsp[-2].pair.x - yyvsp[0].pair.x;
- yyval.pair.y = yyvsp[-2].pair.y - yyvsp[0].pair.y;
- }
- break;
- case 134:
- ! #line 1064 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pair.x = yyvsp[-3].pair.x;
- yyval.pair.y = yyvsp[-1].pair.y;
- }
- break;
- case 135:
- ! #line 1069 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pair.x = (1.0 - yyvsp[-4].x)*yyvsp[-2].pair.x + yyvsp[-4].x*yyvsp[0].pair.x;
- yyval.pair.y = (1.0 - yyvsp[-4].x)*yyvsp[-2].pair.y + yyvsp[-4].x*yyvsp[0].pair.y;
- }
- break;
- case 136:
- ! #line 1074 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pair.x = (1.0 - yyvsp[-5].x)*yyvsp[-3].pair.x + yyvsp[-5].x*yyvsp[-1].pair.x;
- yyval.pair.y = (1.0 - yyvsp[-5].x)*yyvsp[-3].pair.y + yyvsp[-5].x*yyvsp[-1].pair.y;
- }
- break;
- case 139:
- ! #line 1087 "/u/jjc/groff/pic/pic.y"
- { yyval.pair.x = yyvsp[-2].x; yyval.pair.y = yyvsp[0].x; }
- break;
- case 140:
- ! #line 1089 "/u/jjc/groff/pic/pic.y"
- { yyval.pair = yyvsp[-1].pair; }
- break;
- case 141:
- ! #line 1094 "/u/jjc/groff/pic/pic.y"
- { yyval.pl = yyvsp[0].pl; }
- break;
- case 142:
- ! #line 1096 "/u/jjc/groff/pic/pic.y"
- {
- path pth(yyvsp[0].crn);
- if (!pth.follow(yyvsp[-1].pl, & yyval.pl))
- --- 4486,4543 ----
- }
- break;
- case 131:
- ! #line 1052 "pic.y"
- { yyval.pair = yyvsp[0].pair; }
- break;
- case 132:
- ! #line 1054 "pic.y"
- {
- yyval.pair.x = yyvsp[-2].pair.x + yyvsp[0].pair.x;
- yyval.pair.y = yyvsp[-2].pair.y + yyvsp[0].pair.y;
- }
- break;
- case 133:
- ! #line 1059 "pic.y"
- {
- yyval.pair.x = yyvsp[-2].pair.x - yyvsp[0].pair.x;
- yyval.pair.y = yyvsp[-2].pair.y - yyvsp[0].pair.y;
- }
- break;
- case 134:
- ! #line 1064 "pic.y"
- {
- yyval.pair.x = yyvsp[-3].pair.x;
- yyval.pair.y = yyvsp[-1].pair.y;
- }
- break;
- case 135:
- ! #line 1069 "pic.y"
- {
- yyval.pair.x = (1.0 - yyvsp[-4].x)*yyvsp[-2].pair.x + yyvsp[-4].x*yyvsp[0].pair.x;
- yyval.pair.y = (1.0 - yyvsp[-4].x)*yyvsp[-2].pair.y + yyvsp[-4].x*yyvsp[0].pair.y;
- }
- break;
- case 136:
- ! #line 1074 "pic.y"
- {
- yyval.pair.x = (1.0 - yyvsp[-5].x)*yyvsp[-3].pair.x + yyvsp[-5].x*yyvsp[-1].pair.x;
- yyval.pair.y = (1.0 - yyvsp[-5].x)*yyvsp[-3].pair.y + yyvsp[-5].x*yyvsp[-1].pair.y;
- }
- break;
- case 139:
- ! #line 1087 "pic.y"
- { yyval.pair.x = yyvsp[-2].x; yyval.pair.y = yyvsp[0].x; }
- break;
- case 140:
- ! #line 1089 "pic.y"
- { yyval.pair = yyvsp[-1].pair; }
- break;
- case 141:
- ! #line 1094 "pic.y"
- { yyval.pl = yyvsp[0].pl; }
- break;
- case 142:
- ! #line 1096 "pic.y"
- {
- path pth(yyvsp[0].crn);
- if (!pth.follow(yyvsp[-1].pl, & yyval.pl))
- ***************
- *** 4545,4551 ****
- }
- break;
- case 143:
- ! #line 1102 "/u/jjc/groff/pic/pic.y"
- {
- path pth(yyvsp[-1].crn);
- if (!pth.follow(yyvsp[0].pl, & yyval.pl))
- --- 4545,4551 ----
- }
- break;
- case 143:
- ! #line 1102 "pic.y"
- {
- path pth(yyvsp[-1].crn);
- if (!pth.follow(yyvsp[0].pl, & yyval.pl))
- ***************
- *** 4553,4559 ****
- }
- break;
- case 144:
- ! #line 1108 "/u/jjc/groff/pic/pic.y"
- {
- path pth(yyvsp[-2].crn);
- if (!pth.follow(yyvsp[0].pl, & yyval.pl))
- --- 4553,4559 ----
- }
- break;
- case 144:
- ! #line 1108 "pic.y"
- {
- path pth(yyvsp[-2].crn);
- if (!pth.follow(yyvsp[0].pl, & yyval.pl))
- ***************
- *** 4561,4567 ****
- }
- break;
- case 145:
- ! #line 1114 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pl.x = current_position.x;
- yyval.pl.y = current_position.y;
- --- 4561,4567 ----
- }
- break;
- case 145:
- ! #line 1114 "pic.y"
- {
- yyval.pl.x = current_position.x;
- yyval.pl.y = current_position.y;
- ***************
- *** 4569,4575 ****
- }
- break;
- case 146:
- ! #line 1123 "/u/jjc/groff/pic/pic.y"
- {
- place *p = lookup_label(yyvsp[0].str);
- if (!p) {
- --- 4569,4575 ----
- }
- break;
- case 146:
- ! #line 1123 "pic.y"
- {
- place *p = lookup_label(yyvsp[0].str);
- if (!p) {
- ***************
- *** 4581,4593 ****
- }
- break;
- case 147:
- ! #line 1133 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pl.obj = yyvsp[0].obj;
- }
- break;
- case 148:
- ! #line 1137 "/u/jjc/groff/pic/pic.y"
- {
- path pth(yyvsp[0].str);
- if (!pth.follow(yyvsp[-2].pl, & yyval.pl))
- --- 4581,4593 ----
- }
- break;
- case 147:
- ! #line 1133 "pic.y"
- {
- yyval.pl.obj = yyvsp[0].obj;
- }
- break;
- case 148:
- ! #line 1137 "pic.y"
- {
- path pth(yyvsp[0].str);
- if (!pth.follow(yyvsp[-2].pl, & yyval.pl))
- ***************
- *** 4595,4620 ****
- }
- break;
- case 149:
- ! #line 1146 "/u/jjc/groff/pic/pic.y"
- { yyval.n = yyvsp[0].n; }
- break;
- case 150:
- ! #line 1148 "/u/jjc/groff/pic/pic.y"
- {
- /* XXX Check for overflow (and non-integers?).*/
- yyval.n = (int)yyvsp[-1].x;
- }
- break;
- case 151:
- ! #line 1156 "/u/jjc/groff/pic/pic.y"
- { yyval.n = 1; }
- break;
- case 152:
- ! #line 1158 "/u/jjc/groff/pic/pic.y"
- { yyval.n = yyvsp[-1].n; }
- break;
- case 153:
- ! #line 1163 "/u/jjc/groff/pic/pic.y"
- {
- int count = 0;
- for (object *p = olist.head; p != 0; p = p->next)
- --- 4595,4620 ----
- }
- break;
- case 149:
- ! #line 1146 "pic.y"
- { yyval.n = yyvsp[0].n; }
- break;
- case 150:
- ! #line 1148 "pic.y"
- {
- /* XXX Check for overflow (and non-integers?).*/
- yyval.n = (int)yyvsp[-1].x;
- }
- break;
- case 151:
- ! #line 1156 "pic.y"
- { yyval.n = 1; }
- break;
- case 152:
- ! #line 1158 "pic.y"
- { yyval.n = yyvsp[-1].n; }
- break;
- case 153:
- ! #line 1163 "pic.y"
- {
- int count = 0;
- for (object *p = olist.head; p != 0; p = p->next)
- ***************
- *** 4630,4636 ****
- }
- break;
- case 154:
- ! #line 1177 "/u/jjc/groff/pic/pic.y"
- {
- int count = 0;
- for (object *p = olist.tail; p != 0; p = p->prev)
- --- 4630,4636 ----
- }
- break;
- case 154:
- ! #line 1177 "pic.y"
- {
- int count = 0;
- for (object *p = olist.tail; p != 0; p = p->prev)
- ***************
- *** 4646,4726 ****
- }
- break;
- case 155:
- ! #line 1194 "/u/jjc/groff/pic/pic.y"
- { yyval.obtype = BOX_OBJECT; }
- break;
- case 156:
- ! #line 1196 "/u/jjc/groff/pic/pic.y"
- { yyval.obtype = CIRCLE_OBJECT; }
- break;
- case 157:
- ! #line 1198 "/u/jjc/groff/pic/pic.y"
- { yyval.obtype = ELLIPSE_OBJECT; }
- break;
- case 158:
- ! #line 1200 "/u/jjc/groff/pic/pic.y"
- { yyval.obtype = ARC_OBJECT; }
- break;
- case 159:
- ! #line 1202 "/u/jjc/groff/pic/pic.y"
- { yyval.obtype = LINE_OBJECT; }
- break;
- case 160:
- ! #line 1204 "/u/jjc/groff/pic/pic.y"
- { yyval.obtype = ARROW_OBJECT; }
- break;
- case 161:
- ! #line 1206 "/u/jjc/groff/pic/pic.y"
- { yyval.obtype = SPLINE_OBJECT; }
- break;
- case 162:
- ! #line 1208 "/u/jjc/groff/pic/pic.y"
- { yyval.obtype = BLOCK_OBJECT; }
- break;
- case 163:
- ! #line 1210 "/u/jjc/groff/pic/pic.y"
- { yyval.obtype = TEXT_OBJECT; }
- break;
- case 164:
- ! #line 1215 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pth = new path(yyvsp[0].str);
- }
- break;
- case 165:
- ! #line 1219 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pth = yyvsp[-2].pth;
- yyval.pth->append(yyvsp[0].str);
- }
- break;
- case 166:
- ! #line 1227 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pth = new path(yyvsp[0].crn);
- }
- break;
- case 167:
- ! #line 1234 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pth = yyvsp[0].pth;
- }
- break;
- case 168:
- ! #line 1238 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pth = yyvsp[-1].pth;
- yyval.pth->append(yyvsp[0].crn);
- }
- break;
- case 169:
- ! #line 1246 "/u/jjc/groff/pic/pic.y"
- {
- yyval.pth = yyvsp[0].pth;
- }
- break;
- case 170:
- ! #line 1251 "/u/jjc/groff/pic/pic.y"
- {
- lex_warning("`%1%2 last %3' in `with' argument ignored",
- yyvsp[-3].n, ordinal_postfix(yyvsp[-3].n), object_type_name(yyvsp[-1].obtype));
- --- 4646,4726 ----
- }
- break;
- case 155:
- ! #line 1194 "pic.y"
- { yyval.obtype = BOX_OBJECT; }
- break;
- case 156:
- ! #line 1196 "pic.y"
- { yyval.obtype = CIRCLE_OBJECT; }
- break;
- case 157:
- ! #line 1198 "pic.y"
- { yyval.obtype = ELLIPSE_OBJECT; }
- break;
- case 158:
- ! #line 1200 "pic.y"
- { yyval.obtype = ARC_OBJECT; }
- break;
- case 159:
- ! #line 1202 "pic.y"
- { yyval.obtype = LINE_OBJECT; }
- break;
- case 160:
- ! #line 1204 "pic.y"
- { yyval.obtype = ARROW_OBJECT; }
- break;
- case 161:
- ! #line 1206 "pic.y"
- { yyval.obtype = SPLINE_OBJECT; }
- break;
- case 162:
- ! #line 1208 "pic.y"
- { yyval.obtype = BLOCK_OBJECT; }
- break;
- case 163:
- ! #line 1210 "pic.y"
- { yyval.obtype = TEXT_OBJECT; }
- break;
- case 164:
- ! #line 1215 "pic.y"
- {
- yyval.pth = new path(yyvsp[0].str);
- }
- break;
- case 165:
- ! #line 1219 "pic.y"
- {
- yyval.pth = yyvsp[-2].pth;
- yyval.pth->append(yyvsp[0].str);
- }
- break;
- case 166:
- ! #line 1227 "pic.y"
- {
- yyval.pth = new path(yyvsp[0].crn);
- }
- break;
- case 167:
- ! #line 1234 "pic.y"
- {
- yyval.pth = yyvsp[0].pth;
- }
- break;
- case 168:
- ! #line 1238 "pic.y"
- {
- yyval.pth = yyvsp[-1].pth;
- yyval.pth->append(yyvsp[0].crn);
- }
- break;
- case 169:
- ! #line 1246 "pic.y"
- {
- yyval.pth = yyvsp[0].pth;
- }
- break;
- case 170:
- ! #line 1251 "pic.y"
- {
- lex_warning("`%1%2 last %3' in `with' argument ignored",
- yyvsp[-3].n, ordinal_postfix(yyvsp[-3].n), object_type_name(yyvsp[-1].obtype));
- ***************
- *** 4728,4734 ****
- }
- break;
- case 171:
- ! #line 1257 "/u/jjc/groff/pic/pic.y"
- {
- lex_warning("`last %1' in `with' argument ignored",
- object_type_name(yyvsp[-1].obtype));
- --- 4728,4734 ----
- }
- break;
- case 171:
- ! #line 1257 "pic.y"
- {
- lex_warning("`last %1' in `with' argument ignored",
- object_type_name(yyvsp[-1].obtype));
- ***************
- *** 4736,4742 ****
- }
- break;
- case 172:
- ! #line 1263 "/u/jjc/groff/pic/pic.y"
- {
- lex_warning("`%1%2 %3' in `with' argument ignored",
- yyvsp[-2].n, ordinal_postfix(yyvsp[-2].n), object_type_name(yyvsp[-1].obtype));
- --- 4736,4742 ----
- }
- break;
- case 172:
- ! #line 1263 "pic.y"
- {
- lex_warning("`%1%2 %3' in `with' argument ignored",
- yyvsp[-2].n, ordinal_postfix(yyvsp[-2].n), object_type_name(yyvsp[-1].obtype));
- ***************
- *** 4744,4750 ****
- }
- break;
- case 173:
- ! #line 1269 "/u/jjc/groff/pic/pic.y"
- {
- lex_warning("initial `%1' in `with' argument ignored", yyvsp[-1].str);
- a_delete yyvsp[-1].str;
- --- 4744,4750 ----
- }
- break;
- case 173:
- ! #line 1269 "pic.y"
- {
- lex_warning("initial `%1' in `with' argument ignored", yyvsp[-1].str);
- a_delete yyvsp[-1].str;
- ***************
- *** 4752,4870 ****
- }
- break;
- case 174:
- ! #line 1278 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::north; }
- break;
- case 175:
- ! #line 1280 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::east; }
- break;
- case 176:
- ! #line 1282 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::west; }
- break;
- case 177:
- ! #line 1284 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::south; }
- break;
- case 178:
- ! #line 1286 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::north_east; }
- break;
- case 179:
- ! #line 1288 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object:: south_east; }
- break;
- case 180:
- ! #line 1290 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::north_west; }
- break;
- case 181:
- ! #line 1292 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::south_west; }
- break;
- case 182:
- ! #line 1294 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::center; }
- break;
- case 183:
- ! #line 1296 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::start; }
- break;
- case 184:
- ! #line 1298 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::end; }
- break;
- case 185:
- ! #line 1300 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::north; }
- break;
- case 186:
- ! #line 1302 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::south; }
- break;
- case 187:
- ! #line 1304 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::west; }
- break;
- case 188:
- ! #line 1306 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::east; }
- break;
- case 189:
- ! #line 1308 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::north_west; }
- break;
- case 190:
- ! #line 1310 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::south_west; }
- break;
- case 191:
- ! #line 1312 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::north_east; }
- break;
- case 192:
- ! #line 1314 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::south_east; }
- break;
- case 193:
- ! #line 1316 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::west; }
- break;
- case 194:
- ! #line 1318 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::east; }
- break;
- case 195:
- ! #line 1320 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::north_west; }
- break;
- case 196:
- ! #line 1322 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::south_west; }
- break;
- case 197:
- ! #line 1324 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::north_east; }
- break;
- case 198:
- ! #line 1326 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::south_east; }
- break;
- case 199:
- ! #line 1328 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::center; }
- break;
- case 200:
- ! #line 1330 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::start; }
- break;
- case 201:
- ! #line 1332 "/u/jjc/groff/pic/pic.y"
- { yyval.crn = &object::end; }
- break;
- case 202:
- ! #line 1337 "/u/jjc/groff/pic/pic.y"
- {
- if (!lookup_variable(yyvsp[0].str, & yyval.x)) {
- lex_error("there is no variable `%1'", yyvsp[0].str);
- --- 4752,4870 ----
- }
- break;
- case 174:
- ! #line 1278 "pic.y"
- { yyval.crn = &object::north; }
- break;
- case 175:
- ! #line 1280 "pic.y"
- { yyval.crn = &object::east; }
- break;
- case 176:
- ! #line 1282 "pic.y"
- { yyval.crn = &object::west; }
- break;
- case 177:
- ! #line 1284 "pic.y"
- { yyval.crn = &object::south; }
- break;
- case 178:
- ! #line 1286 "pic.y"
- { yyval.crn = &object::north_east; }
- break;
- case 179:
- ! #line 1288 "pic.y"
- { yyval.crn = &object:: south_east; }
- break;
- case 180:
- ! #line 1290 "pic.y"
- { yyval.crn = &object::north_west; }
- break;
- case 181:
- ! #line 1292 "pic.y"
- { yyval.crn = &object::south_west; }
- break;
- case 182:
- ! #line 1294 "pic.y"
- { yyval.crn = &object::center; }
- break;
- case 183:
- ! #line 1296 "pic.y"
- { yyval.crn = &object::start; }
- break;
- case 184:
- ! #line 1298 "pic.y"
- { yyval.crn = &object::end; }
- break;
- case 185:
- ! #line 1300 "pic.y"
- { yyval.crn = &object::north; }
- break;
- case 186:
- ! #line 1302 "pic.y"
- { yyval.crn = &object::south; }
- break;
- case 187:
- ! #line 1304 "pic.y"
- { yyval.crn = &object::west; }
- break;
- case 188:
- ! #line 1306 "pic.y"
- { yyval.crn = &object::east; }
- break;
- case 189:
- ! #line 1308 "pic.y"
- { yyval.crn = &object::north_west; }
- break;
- case 190:
- ! #line 1310 "pic.y"
- { yyval.crn = &object::south_west; }
- break;
- case 191:
- ! #line 1312 "pic.y"
- { yyval.crn = &object::north_east; }
- break;
- case 192:
- ! #line 1314 "pic.y"
- { yyval.crn = &object::south_east; }
- break;
- case 193:
- ! #line 1316 "pic.y"
- { yyval.crn = &object::west; }
- break;
- case 194:
- ! #line 1318 "pic.y"
- { yyval.crn = &object::east; }
- break;
- case 195:
- ! #line 1320 "pic.y"
- { yyval.crn = &object::north_west; }
- break;
- case 196:
- ! #line 1322 "pic.y"
- { yyval.crn = &object::south_west; }
- break;
- case 197:
- ! #line 1324 "pic.y"
- { yyval.crn = &object::north_east; }
- break;
- case 198:
- ! #line 1326 "pic.y"
- { yyval.crn = &object::south_east; }
- break;
- case 199:
- ! #line 1328 "pic.y"
- { yyval.crn = &object::center; }
- break;
- case 200:
- ! #line 1330 "pic.y"
- { yyval.crn = &object::start; }
- break;
- case 201:
- ! #line 1332 "pic.y"
- { yyval.crn = &object::end; }
- break;
- case 202:
- ! #line 1337 "pic.y"
- {
- if (!lookup_variable(yyvsp[0].str, & yyval.x)) {
- lex_error("there is no variable `%1'", yyvsp[0].str);
- ***************
- *** 4874,4884 ****
- }
- break;
- case 203:
- ! #line 1345 "/u/jjc/groff/pic/pic.y"
- { yyval.x = yyvsp[0].x; }
- break;
- case 204:
- ! #line 1347 "/u/jjc/groff/pic/pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->origin().x;
- --- 4874,4884 ----
- }
- break;
- case 203:
- ! #line 1345 "pic.y"
- { yyval.x = yyvsp[0].x; }
- break;
- case 204:
- ! #line 1347 "pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->origin().x;
- ***************
- *** 4887,4893 ****
- }
- break;
- case 205:
- ! #line 1354 "/u/jjc/groff/pic/pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->origin().y;
- --- 4887,4893 ----
- }
- break;
- case 205:
- ! #line 1354 "pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->origin().y;
- ***************
- *** 4896,4902 ****
- }
- break;
- case 206:
- ! #line 1361 "/u/jjc/groff/pic/pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->height();
- --- 4896,4902 ----
- }
- break;
- case 206:
- ! #line 1361 "pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->height();
- ***************
- *** 4905,4911 ****
- }
- break;
- case 207:
- ! #line 1368 "/u/jjc/groff/pic/pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->width();
- --- 4905,4911 ----
- }
- break;
- case 207:
- ! #line 1368 "pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->width();
- ***************
- *** 4914,4920 ****
- }
- break;
- case 208:
- ! #line 1375 "/u/jjc/groff/pic/pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->radius();
- --- 4914,4920 ----
- }
- break;
- case 208:
- ! #line 1375 "pic.y"
- {
- if (yyvsp[-1].pl.obj != 0)
- yyval.x = yyvsp[-1].pl.obj->radius();
- ***************
- *** 4923,4941 ****
- }
- break;
- case 209:
- ! #line 1382 "/u/jjc/groff/pic/pic.y"
- { yyval.x = yyvsp[-2].x + yyvsp[0].x; }
- break;
- case 210:
- ! #line 1384 "/u/jjc/groff/pic/pic.y"
- { yyval.x = yyvsp[-2].x - yyvsp[0].x; }
- break;
- case 211:
- ! #line 1386 "/u/jjc/groff/pic/pic.y"
- { yyval.x = yyvsp[-2].x * yyvsp[0].x; }
- break;
- case 212:
- ! #line 1388 "/u/jjc/groff/pic/pic.y"
- {
- if (yyvsp[0].x == 0.0) {
- lex_error("division by zero");
- --- 4923,4941 ----
- }
- break;
- case 209:
- ! #line 1382 "pic.y"
- { yyval.x = yyvsp[-2].x + yyvsp[0].x; }
- break;
- case 210:
- ! #line 1384 "pic.y"
- { yyval.x = yyvsp[-2].x - yyvsp[0].x; }
- break;
- case 211:
- ! #line 1386 "pic.y"
- { yyval.x = yyvsp[-2].x * yyvsp[0].x; }
- break;
- case 212:
- ! #line 1388 "pic.y"
- {
- if (yyvsp[0].x == 0.0) {
- lex_error("division by zero");
- ***************
- *** 4945,4951 ****
- }
- break;
- case 213:
- ! #line 1396 "/u/jjc/groff/pic/pic.y"
- {
- if (yyvsp[0].x == 0.0) {
- lex_error("modulus by zero");
- --- 4945,4951 ----
- }
- break;
- case 213:
- ! #line 1396 "pic.y"
- {
- if (yyvsp[0].x == 0.0) {
- lex_error("modulus by zero");
- ***************
- *** 4955,4961 ****
- }
- break;
- case 214:
- ! #line 1404 "/u/jjc/groff/pic/pic.y"
- {
- errno = 0;
- yyval.x = pow(yyvsp[-2].x, yyvsp[0].x);
- --- 4955,4961 ----
- }
- break;
- case 214:
- ! #line 1404 "pic.y"
- {
- errno = 0;
- yyval.x = pow(yyvsp[-2].x, yyvsp[0].x);
- ***************
- *** 4970,4984 ****
- }
- break;
- case 215:
- ! #line 1417 "/u/jjc/groff/pic/pic.y"
- { yyval.x = -yyvsp[0].x; }
- break;
- case 216:
- ! #line 1419 "/u/jjc/groff/pic/pic.y"
- { yyval.x = yyvsp[-1].x; }
- break;
- case 217:
- ! #line 1421 "/u/jjc/groff/pic/pic.y"
- {
- errno = 0;
- yyval.x = sin(yyvsp[-1].x);
- --- 4970,4984 ----
- }
- break;
- case 215:
- ! #line 1417 "pic.y"
- { yyval.x = -yyvsp[0].x; }
- break;
- case 216:
- ! #line 1419 "pic.y"
- { yyval.x = yyvsp[-1].x; }
- break;
- case 217:
- ! #line 1421 "pic.y"
- {
- errno = 0;
- yyval.x = sin(yyvsp[-1].x);
- ***************
- *** 4989,4995 ****
- }
- break;
- case 218:
- ! #line 1430 "/u/jjc/groff/pic/pic.y"
- {
- errno = 0;
- yyval.x = cos(yyvsp[-1].x);
- --- 4989,4995 ----
- }
- break;
- case 218:
- ! #line 1430 "pic.y"
- {
- errno = 0;
- yyval.x = cos(yyvsp[-1].x);
- ***************
- *** 5000,5006 ****
- }
- break;
- case 219:
- ! #line 1439 "/u/jjc/groff/pic/pic.y"
- {
- errno = 0;
- yyval.x = atan2(yyvsp[-3].x, yyvsp[-1].x);
- --- 5000,5006 ----
- }
- break;
- case 219:
- ! #line 1439 "pic.y"
- {
- errno = 0;
- yyval.x = atan2(yyvsp[-3].x, yyvsp[-1].x);
- ***************
- *** 5015,5021 ****
- }
- break;
- case 220:
- ! #line 1452 "/u/jjc/groff/pic/pic.y"
- {
- errno = 0;
- yyval.x = log10(yyvsp[-1].x);
- --- 5015,5021 ----
- }
- break;
- case 220:
- ! #line 1452 "pic.y"
- {
- errno = 0;
- yyval.x = log10(yyvsp[-1].x);
- ***************
- *** 5026,5032 ****
- }
- break;
- case 221:
- ! #line 1461 "/u/jjc/groff/pic/pic.y"
- {
- errno = 0;
- yyval.x = pow(10.0, yyvsp[-1].x);
- --- 5026,5032 ----
- }
- break;
- case 221:
- ! #line 1461 "pic.y"
- {
- errno = 0;
- yyval.x = pow(10.0, yyvsp[-1].x);
- ***************
- *** 5037,5043 ****
- }
- break;
- case 222:
- ! #line 1470 "/u/jjc/groff/pic/pic.y"
- {
- errno = 0;
- yyval.x = sqrt(yyvsp[-1].x);
- --- 5037,5043 ----
- }
- break;
- case 222:
- ! #line 1470 "pic.y"
- {
- errno = 0;
- yyval.x = sqrt(yyvsp[-1].x);
- ***************
- *** 5048,5070 ****
- }
- break;
- case 223:
- ! #line 1479 "/u/jjc/groff/pic/pic.y"
- { yyval.x = yyvsp[-3].x > yyvsp[-1].x ? yyvsp[-3].x : yyvsp[-1].x; }
- break;
- case 224:
- ! #line 1481 "/u/jjc/groff/pic/pic.y"
- { yyval.x = yyvsp[-3].x < yyvsp[-1].x ? yyvsp[-3].x : yyvsp[-1].x; }
- break;
- case 225:
- ! #line 1483 "/u/jjc/groff/pic/pic.y"
- { yyval.x = floor(yyvsp[-1].x); }
- break;
- case 226:
- ! #line 1485 "/u/jjc/groff/pic/pic.y"
- { yyval.x = 1.0 + floor(((rand()&0x7fff)/double(0x7fff))*yyvsp[-1].x); }
- break;
- case 227:
- ! #line 1487 "/u/jjc/groff/pic/pic.y"
- {
- /* return a random number in the range [0,1) */
- /* portable, but not very random */
- --- 5048,5070 ----
- }
- break;
- case 223:
- ! #line 1479 "pic.y"
- { yyval.x = yyvsp[-3].x > yyvsp[-1].x ? yyvsp[-3].x : yyvsp[-1].x; }
- break;
- case 224:
- ! #line 1481 "pic.y"
- { yyval.x = yyvsp[-3].x < yyvsp[-1].x ? yyvsp[-3].x : yyvsp[-1].x; }
- break;
- case 225:
- ! #line 1483 "pic.y"
- { yyval.x = floor(yyvsp[-1].x); }
- break;
- case 226:
- ! #line 1485 "pic.y"
- { yyval.x = 1.0 + floor(((rand()&0x7fff)/double(0x7fff))*yyvsp[-1].x); }
- break;
- case 227:
- ! #line 1487 "pic.y"
- {
- /* return a random number in the range [0,1) */
- /* portable, but not very random */
- ***************
- *** 5072,5110 ****
- }
- break;
- case 228:
- ! #line 1493 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x < yyvsp[0].x); }
- break;
- case 229:
- ! #line 1495 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x <= yyvsp[0].x); }
- break;
- case 230:
- ! #line 1497 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x > yyvsp[0].x); }
- break;
- case 231:
- ! #line 1499 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x >= yyvsp[0].x); }
- break;
- case 232:
- ! #line 1501 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x == yyvsp[0].x); }
- break;
- case 233:
- ! #line 1503 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x != yyvsp[0].x); }
- break;
- case 234:
- ! #line 1505 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 && yyvsp[0].x != 0.0); }
- break;
- case 235:
- ! #line 1507 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 || yyvsp[0].x != 0.0); }
- break;
- case 236:
- ! #line 1509 "/u/jjc/groff/pic/pic.y"
- { yyval.x = (yyvsp[0].x == 0.0); }
- break;
- #line 5111 "y.tab.c"
- --- 5072,5110 ----
- }
- break;
- case 228:
- ! #line 1493 "pic.y"
- { yyval.x = (yyvsp[-2].x < yyvsp[0].x); }
- break;
- case 229:
- ! #line 1495 "pic.y"
- { yyval.x = (yyvsp[-2].x <= yyvsp[0].x); }
- break;
- case 230:
- ! #line 1497 "pic.y"
- { yyval.x = (yyvsp[-2].x > yyvsp[0].x); }
- break;
- case 231:
- ! #line 1499 "pic.y"
- { yyval.x = (yyvsp[-2].x >= yyvsp[0].x); }
- break;
- case 232:
- ! #line 1501 "pic.y"
- { yyval.x = (yyvsp[-2].x == yyvsp[0].x); }
- break;
- case 233:
- ! #line 1503 "pic.y"
- { yyval.x = (yyvsp[-2].x != yyvsp[0].x); }
- break;
- case 234:
- ! #line 1505 "pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 && yyvsp[0].x != 0.0); }
- break;
- case 235:
- ! #line 1507 "pic.y"
- { yyval.x = (yyvsp[-2].x != 0.0 || yyvsp[0].x != 0.0); }
- break;
- case 236:
- ! #line 1509 "pic.y"
- { yyval.x = (yyvsp[0].x == 0.0); }
- break;
- #line 5111 "y.tab.c"
- diff -rc --new-file groff-1.09/pic/pic.h /gnu/src/amiga/groff-1.09/pic/pic.h
- *** groff-1.09/pic/pic.h Mon Dec 28 21:50:15 1992
- --- /gnu/src/amiga/groff-1.09/pic/pic.h Mon Feb 21 16:18:23 1994
- ***************
- *** 19,25 ****
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include <string.h>
- #include <math.h>
- #include <stdlib.h>
- #include <errno.h>
- --- 19,25 ----
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- #include <stdio.h>
- ! #include </gnu/include/string.h>
- #include <math.h>
- #include <stdlib.h>
- #include <errno.h>
- diff -rc --new-file groff-1.09/refer/label.cc /gnu/src/amiga/groff-1.09/refer/label.cc
- *** groff-1.09/refer/label.cc Mon Dec 13 20:02:17 1993
- --- /gnu/src/amiga/groff-1.09/refer/label.cc Wed May 4 11:41:15 1994
- ***************
- *** 2,8 ****
- static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/90";
- #endif
- #define YYBYACC 1
- ! #line 22 "/u/jjc/groff/refer/label.y"
-
- #include "refer.h"
- #include "refid.h"
- --- 2,8 ----
- static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/90";
- #endif
- #define YYBYACC 1
- ! #line 22 "label.y"
-
- #include "refer.h"
- #include "refid.h"
- ***************
- *** 200,206 ****
-
- string literals;
-
- ! #line 221 "/u/jjc/groff/refer/label.y"
- typedef union {
- int num;
- expression *expr;
- --- 200,206 ----
-
- string literals;
-
- ! #line 221 "label.y"
- typedef union {
- int num;
- expression *expr;
- ***************
- *** 438,444 ****
- short yyss[YYSTACKSIZE];
- YYSTYPE yyvs[YYSTACKSIZE];
- #define yystacksize YYSTACKSIZE
- ! #line 397 "/u/jjc/groff/refer/label.y"
-
- /* bison defines const to be empty unless __STDC__ is defined, which it
- isn't under cfront */
- --- 438,444 ----
- short yyss[YYSTACKSIZE];
- YYSTYPE yyvs[YYSTACKSIZE];
- #define yystacksize YYSTACKSIZE
- ! #line 397 "label.y"
-
- /* bison defines const to be empty unless __STDC__ is defined, which it
- isn't under cfront */
- ***************
- *** 1357,1430 ****
- switch (yyn)
- {
- case 1:
- ! #line 250 "/u/jjc/groff/refer/label.y"
- { parse_result = (yyvsp[0].expr ? new analyzed_expr(yyvsp[0].expr) : 0); }
- break;
- case 2:
- ! #line 255 "/u/jjc/groff/refer/label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 3:
- ! #line 257 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new conditional_expr(yyvsp[-4].expr, yyvsp[-2].expr, yyvsp[0].expr); }
- break;
- case 4:
- ! #line 262 "/u/jjc/groff/refer/label.y"
- { yyval.expr = 0; }
- break;
- case 5:
- ! #line 264 "/u/jjc/groff/refer/label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 6:
- ! #line 269 "/u/jjc/groff/refer/label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 7:
- ! #line 271 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new alternative_expr(yyvsp[-2].expr, yyvsp[0].expr); }
- break;
- case 8:
- ! #line 273 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new conditional_expr(yyvsp[-2].expr, yyvsp[0].expr, 0); }
- break;
- case 9:
- ! #line 278 "/u/jjc/groff/refer/label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 10:
- ! #line 280 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new list_expr(yyvsp[-1].expr, yyvsp[0].expr); }
- break;
- case 11:
- ! #line 285 "/u/jjc/groff/refer/label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 12:
- ! #line 287 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new substitute_expr(yyvsp[-2].expr, yyvsp[0].expr); }
- break;
- case 13:
- ! #line 292 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new at_expr; }
- break;
- case 14:
- ! #line 294 "/u/jjc/groff/refer/label.y"
- {
- yyval.expr = new literal_expr(literals.contents() + yyvsp[0].str.start,
- yyvsp[0].str.len);
- }
- break;
- case 15:
- ! #line 299 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new field_expr(yyvsp[0].num, 0); }
- break;
- case 16:
- ! #line 301 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new field_expr(yyvsp[-1].num, yyvsp[0].num - 1); }
- break;
- case 17:
- ! #line 303 "/u/jjc/groff/refer/label.y"
- {
- switch (yyvsp[0].num) {
- case 'I':
- --- 1357,1430 ----
- switch (yyn)
- {
- case 1:
- ! #line 250 "label.y"
- { parse_result = (yyvsp[0].expr ? new analyzed_expr(yyvsp[0].expr) : 0); }
- break;
- case 2:
- ! #line 255 "label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 3:
- ! #line 257 "label.y"
- { yyval.expr = new conditional_expr(yyvsp[-4].expr, yyvsp[-2].expr, yyvsp[0].expr); }
- break;
- case 4:
- ! #line 262 "label.y"
- { yyval.expr = 0; }
- break;
- case 5:
- ! #line 264 "label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 6:
- ! #line 269 "label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 7:
- ! #line 271 "label.y"
- { yyval.expr = new alternative_expr(yyvsp[-2].expr, yyvsp[0].expr); }
- break;
- case 8:
- ! #line 273 "label.y"
- { yyval.expr = new conditional_expr(yyvsp[-2].expr, yyvsp[0].expr, 0); }
- break;
- case 9:
- ! #line 278 "label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 10:
- ! #line 280 "label.y"
- { yyval.expr = new list_expr(yyvsp[-1].expr, yyvsp[0].expr); }
- break;
- case 11:
- ! #line 285 "label.y"
- { yyval.expr = yyvsp[0].expr; }
- break;
- case 12:
- ! #line 287 "label.y"
- { yyval.expr = new substitute_expr(yyvsp[-2].expr, yyvsp[0].expr); }
- break;
- case 13:
- ! #line 292 "label.y"
- { yyval.expr = new at_expr; }
- break;
- case 14:
- ! #line 294 "label.y"
- {
- yyval.expr = new literal_expr(literals.contents() + yyvsp[0].str.start,
- yyvsp[0].str.len);
- }
- break;
- case 15:
- ! #line 299 "label.y"
- { yyval.expr = new field_expr(yyvsp[0].num, 0); }
- break;
- case 16:
- ! #line 301 "label.y"
- { yyval.expr = new field_expr(yyvsp[-1].num, yyvsp[0].num - 1); }
- break;
- case 17:
- ! #line 303 "label.y"
- {
- switch (yyvsp[0].num) {
- case 'I':
- ***************
- *** 1441,1453 ****
- }
- break;
- case 18:
- ! #line 319 "/u/jjc/groff/refer/label.y"
- {
- yyval.expr = new format_expr('0', yyvsp[0].dig.ndigits, yyvsp[0].dig.val);
- }
- break;
- case 19:
- ! #line 323 "/u/jjc/groff/refer/label.y"
- {
- switch (yyvsp[-1].num) {
- case 'l':
- --- 1441,1453 ----
- }
- break;
- case 18:
- ! #line 319 "label.y"
- {
- yyval.expr = new format_expr('0', yyvsp[0].dig.ndigits, yyvsp[0].dig.val);
- }
- break;
- case 19:
- ! #line 323 "label.y"
- {
- switch (yyvsp[-1].num) {
- case 'l':
- ***************
- *** 1479,1537 ****
- }
- break;
- case 20:
- ! #line 354 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new truncate_expr(yyvsp[-2].expr, yyvsp[0].num); }
- break;
- case 21:
- ! #line 356 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new truncate_expr(yyvsp[-2].expr, -yyvsp[0].num); }
- break;
- case 22:
- ! #line 358 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new star_expr(yyvsp[-1].expr); }
- break;
- case 23:
- ! #line 360 "/u/jjc/groff/refer/label.y"
- { yyval.expr = yyvsp[-1].expr; }
- break;
- case 24:
- ! #line 362 "/u/jjc/groff/refer/label.y"
- { yyval.expr = new separator_expr(yyvsp[-1].expr); }
- break;
- case 25:
- ! #line 367 "/u/jjc/groff/refer/label.y"
- { yyval.num = -1; }
- break;
- case 26:
- ! #line 369 "/u/jjc/groff/refer/label.y"
- { yyval.num = yyvsp[0].num; }
- break;
- case 27:
- ! #line 374 "/u/jjc/groff/refer/label.y"
- { yyval.num = yyvsp[0].num; }
- break;
- case 28:
- ! #line 376 "/u/jjc/groff/refer/label.y"
- { yyval.num = yyvsp[-1].num*10 + yyvsp[0].num; }
- break;
- case 29:
- ! #line 381 "/u/jjc/groff/refer/label.y"
- { yyval.dig.ndigits = 1; yyval.dig.val = yyvsp[0].num; }
- break;
- case 30:
- ! #line 383 "/u/jjc/groff/refer/label.y"
- { yyval.dig.ndigits = yyvsp[-1].dig.ndigits + 1; yyval.dig.val = yyvsp[-1].dig.val*10 + yyvsp[0].num; }
- break;
- case 31:
- ! #line 389 "/u/jjc/groff/refer/label.y"
- { yyval.num = 0; }
- break;
- case 32:
- ! #line 391 "/u/jjc/groff/refer/label.y"
- { yyval.num = 1; }
- break;
- case 33:
- ! #line 393 "/u/jjc/groff/refer/label.y"
- { yyval.num = -1; }
- break;
- #line 1538 "y.tab.c"
- --- 1479,1537 ----
- }
- break;
- case 20:
- ! #line 354 "label.y"
- { yyval.expr = new truncate_expr(yyvsp[-2].expr, yyvsp[0].num); }
- break;
- case 21:
- ! #line 356 "label.y"
- { yyval.expr = new truncate_expr(yyvsp[-2].expr, -yyvsp[0].num); }
- break;
- case 22:
- ! #line 358 "label.y"
- { yyval.expr = new star_expr(yyvsp[-1].expr); }
- break;
- case 23:
- ! #line 360 "label.y"
- { yyval.expr = yyvsp[-1].expr; }
- break;
- case 24:
- ! #line 362 "label.y"
- { yyval.expr = new separator_expr(yyvsp[-1].expr); }
- break;
- case 25:
- ! #line 367 "label.y"
- { yyval.num = -1; }
- break;
- case 26:
- ! #line 369 "label.y"
- { yyval.num = yyvsp[0].num; }
- break;
- case 27:
- ! #line 374 "label.y"
- { yyval.num = yyvsp[0].num; }
- break;
- case 28:
- ! #line 376 "label.y"
- { yyval.num = yyvsp[-1].num*10 + yyvsp[0].num; }
- break;
- case 29:
- ! #line 381 "label.y"
- { yyval.dig.ndigits = 1; yyval.dig.val = yyvsp[0].num; }
- break;
- case 30:
- ! #line 383 "label.y"
- { yyval.dig.ndigits = yyvsp[-1].dig.ndigits + 1; yyval.dig.val = yyvsp[-1].dig.val*10 + yyvsp[0].num; }
- break;
- case 31:
- ! #line 389 "label.y"
- { yyval.num = 0; }
- break;
- case 32:
- ! #line 391 "label.y"
- { yyval.num = 1; }
- break;
- case 33:
- ! #line 393 "label.y"
- { yyval.num = -1; }
- break;
- #line 1538 "y.tab.c"
- diff -rc --new-file groff-1.09/refer/refer.h /gnu/src/amiga/groff-1.09/refer/refer.h
- *** groff-1.09/refer/refer.h Mon Aug 3 10:30:24 1992
- --- /gnu/src/amiga/groff-1.09/refer/refer.h Mon Feb 21 16:18:08 1994
- ***************
- *** 21,27 ****
- #include <stdio.h>
- #include <stdlib.h>
- #include <assert.h>
- ! #include <string.h>
- #include <errno.h>
-
- #include "errarg.h"
- --- 21,27 ----
- #include <stdio.h>
- #include <stdlib.h>
- #include <assert.h>
- ! #include </gnu/include/string.h>
- #include <errno.h>
-
- #include "errarg.h"
- diff -rc --new-file groff-1.09/soelim/soelim.cc /gnu/src/amiga/groff-1.09/soelim/soelim.cc
- *** groff-1.09/soelim/soelim.cc Thu May 27 22:29:31 1993
- --- /gnu/src/amiga/groff-1.09/soelim/soelim.cc Mon Feb 21 16:17:50 1994
- ***************
- *** 20,26 ****
-
- #include <stdio.h>
- #include <ctype.h>
- ! #include <string.h>
- #include <assert.h>
- #include <stdlib.h>
- #include <errno.h>
- --- 20,26 ----
-
- #include <stdio.h>
- #include <ctype.h>
- ! #include </gnu/include/string.h>
- #include <assert.h>
- #include <stdlib.h>
- #include <errno.h>
- diff -rc --new-file groff-1.09/tfmtodit/tfmtodit.cc /gnu/src/amiga/groff-1.09/tfmtodit/tfmtodit.cc
- *** groff-1.09/tfmtodit/tfmtodit.cc Sun Feb 13 10:24:34 1994
- --- /gnu/src/amiga/groff-1.09/tfmtodit/tfmtodit.cc Mon Feb 21 16:18:16 1994
- ***************
- *** 50,56 ****
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- ! #include <string.h>
- #include <errno.h>
- #include "lib.h"
- #include "errarg.h"
- --- 50,56 ----
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- ! #include </gnu/include/string.h>
- #include <errno.h>
- #include "lib.h"
- #include "errarg.h"
- diff -rc --new-file groff-1.09/tmac/tmac.doc /gnu/src/amiga/groff-1.09/tmac/tmac.doc
- *** groff-1.09/tmac/tmac.doc Sat Jan 4 13:58:26 1992
- --- /gnu/src/amiga/groff-1.09/tmac/tmac.doc Mon Feb 21 16:32:04 1994
- ***************
- *** 43,49 ****
- .\}
- .if \n(.g .ig
- .de sO
- ! .so /usr/share/tmac/\\$1
- ..
- .if !\n(.g .ig
- .de sO
- --- 43,49 ----
- .\}
- .if \n(.g .ig
- .de sO
- ! .so /gnu/share/tmac/\\$1
- ..
- .if !\n(.g .ig
- .de sO
- diff -rc --new-file groff-1.09/troff/troff.h /gnu/src/amiga/groff-1.09/troff/troff.h
- *** groff-1.09/troff/troff.h Sat Feb 12 11:58:35 1994
- --- /gnu/src/amiga/groff-1.09/troff/troff.h Mon Feb 21 16:18:29 1994
- ***************
- *** 21,27 ****
-
- #include <stdio.h>
- #include <ctype.h>
- ! #include <string.h>
- #include <time.h>
- #include <stddef.h>
- #include <stdlib.h>
- --- 21,27 ----
-
- #include <stdio.h>
- #include <ctype.h>
- ! #include </gnu/include/string.h>
- #include <time.h>
- #include <stddef.h>
- #include <stdlib.h>
- diff -rc --new-file groff-1.09/xditview/Imakefile /gnu/src/amiga/groff-1.09/xditview/Imakefile
- *** groff-1.09/xditview/Imakefile Wed Oct 28 13:19:59 1992
- --- /gnu/src/amiga/groff-1.09/xditview/Imakefile Mon Feb 21 16:32:46 1994
- ***************
- *** 1,6 ****
- ! GROFF_LIBDIR = /usr/local/lib/groff
- GROFF_FONTDIR = $(GROFF_LIBDIR)/font
- ! GROFF_FONTPATH = .:$(GROFF_FONTDIR):/usr/local/lib/font:/usr/lib/font
- DPIS = 75 100
-
- PROGRAMS = gxditview xtotroff
- --- 1,6 ----
- ! GROFF_LIBDIR = /gnu/lib/groff
- GROFF_FONTDIR = $(GROFF_LIBDIR)/font
- ! GROFF_FONTPATH = .:$(GROFF_FONTDIR):/local/lib/font
- DPIS = 75 100
-
- PROGRAMS = gxditview xtotroff
- diff -rc --new-file groff-1.09/xditview/Makefile /gnu/src/amiga/groff-1.09/xditview/Makefile
- *** groff-1.09/xditview/Makefile Thu Apr 29 17:38:13 1993
- --- /gnu/src/amiga/groff-1.09/xditview/Makefile Mon Feb 21 16:33:10 1994
- ***************
- *** 274,282 ****
- # -------------------------------------------------------------------------
- # start of Imakefile
-
- ! GROFF_LIBDIR = /usr/local/lib/groff
- GROFF_FONTDIR = $(GROFF_LIBDIR)/font
- ! GROFF_FONTPATH = .:$(GROFF_FONTDIR):/usr/local/lib/font:/usr/lib/font
- DPIS = 75 100
-
- PROGRAMS = gxditview xtotroff
- --- 274,282 ----
- # -------------------------------------------------------------------------
- # start of Imakefile
-
- ! GROFF_LIBDIR = /gnu/lib/groff
- GROFF_FONTDIR = $(GROFF_LIBDIR)/font
- ! GROFF_FONTPATH = .:$(GROFF_FONTDIR):/local/lib/font
- DPIS = 75 100
-
- PROGRAMS = gxditview xtotroff
- ***************
- *** 413,426 ****
- # DO NOT DELETE
-
- xditview.o: /local/include/X11/Xatom.h /local/include/X11/Xlib.h
- ! xditview.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
- ! xditview.o: /usr/include/sys/sysmacros.h /local/include/X11/X.h
- xditview.o: /local/include/X11/Xfuncproto.h /local/include/X11/Xosdefs.h
- ! xditview.o: /usr/include/stddef.h /local/include/X11/Xos.h
- ! xditview.o: /usr/include/string.h /usr/include/fcntl.h
- ! xditview.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
- ! xditview.o: /usr/include/unistd.h /usr/include/sys/time.h
- ! xditview.o: /usr/include/sys/time.h /local/include/X11/Intrinsic.h
- xditview.o: /local/include/X11/Xutil.h /local/include/X11/Xresource.h
- xditview.o: /local/include/X11/Core.h /local/include/X11/Composite.h
- xditview.o: /local/include/X11/Constraint.h /local/include/X11/Object.h
- --- 413,426 ----
- # DO NOT DELETE
-
- xditview.o: /local/include/X11/Xatom.h /local/include/X11/Xlib.h
- ! xditview.o: /gnu/include/sys/types.h /gnu/include/sys/stdtypes.h
- ! xditview.o: /gnu/include/sys/sysmacros.h /local/include/X11/X.h
- xditview.o: /local/include/X11/Xfuncproto.h /local/include/X11/Xosdefs.h
- ! xditview.o: /gnu/include/stddef.h /local/include/X11/Xos.h
- ! xditview.o: /gnu/include/string.h /gnu/include/fcntl.h
- ! xditview.o: /gnu/include/sys/fcntlcom.h /gnu/include/sys/stat.h
- ! xditview.o: /gnu/include/unistd.h /gnu/include/sys/time.h
- ! xditview.o: /gnu/include/sys/time.h /local/include/X11/Intrinsic.h
- xditview.o: /local/include/X11/Xutil.h /local/include/X11/Xresource.h
- xditview.o: /local/include/X11/Core.h /local/include/X11/Composite.h
- xditview.o: /local/include/X11/Constraint.h /local/include/X11/Object.h
- ***************
- *** 433,577 ****
- xditview.o: /local/include/X11/Xaw/Simple.h /local/include/X11/Xaw/Dialog.h
- xditview.o: /local/include/X11/Xaw/SimpleMenu.h
- xditview.o: /local/include/X11/Xaw/SmeBSB.h /local/include/X11/Xaw/Sme.h
- ! xditview.o: /usr/include/signal.h /usr/include/sys/signal.h
- ! xditview.o: /usr/include/vm/faultcode.h Dvi.h xdit.bm xdit_mask.bm
- ! xditview.o: /usr/include/stdio.h
- Dvi.o: /local/include/X11/IntrinsicP.h /local/include/X11/Intrinsic.h
- ! Dvi.o: /local/include/X11/Xlib.h /usr/include/sys/types.h
- ! Dvi.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
- Dvi.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! Dvi.o: /local/include/X11/Xosdefs.h /usr/include/stddef.h
- Dvi.o: /local/include/X11/Xutil.h /local/include/X11/Xresource.h
- ! Dvi.o: /usr/include/string.h /local/include/X11/Core.h
- Dvi.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- Dvi.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- Dvi.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- Dvi.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- Dvi.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! Dvi.o: /local/include/X11/Xmu/Converters.h /usr/include/stdio.h
- ! Dvi.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h
- Dvi.o: /local/include/X11/bitmaps/gray
- draw.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! draw.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
- ! draw.o: /usr/include/sys/sysmacros.h /usr/include/string.h
- ! draw.o: /usr/include/fcntl.h /usr/include/sys/fcntlcom.h
- ! draw.o: /usr/include/sys/stat.h /usr/include/unistd.h /usr/include/sys/time.h
- ! draw.o: /usr/include/sys/time.h /local/include/X11/IntrinsicP.h
- draw.o: /local/include/X11/Intrinsic.h /local/include/X11/Xlib.h
- draw.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! draw.o: /usr/include/stddef.h /local/include/X11/Xutil.h
- draw.o: /local/include/X11/Xresource.h /local/include/X11/Core.h
- draw.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- draw.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- draw.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- draw.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- draw.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! draw.o: /usr/include/stdio.h /usr/include/ctype.h /usr/include/math.h
- ! draw.o: /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h DviP.h Dvi.h
- draw.o: DviChar.h device.h
- font.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! font.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
- ! font.o: /usr/include/sys/sysmacros.h /usr/include/string.h
- ! font.o: /usr/include/fcntl.h /usr/include/sys/fcntlcom.h
- ! font.o: /usr/include/sys/stat.h /usr/include/unistd.h /usr/include/sys/time.h
- ! font.o: /usr/include/sys/time.h /local/include/X11/IntrinsicP.h
- font.o: /local/include/X11/Intrinsic.h /local/include/X11/Xlib.h
- font.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! font.o: /usr/include/stddef.h /local/include/X11/Xutil.h
- font.o: /local/include/X11/Xresource.h /local/include/X11/Core.h
- font.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- font.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- font.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- font.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- font.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! font.o: /usr/include/stdio.h /usr/include/ctype.h DviP.h Dvi.h DviChar.h
- font.o: device.h XFontName.h
- lex.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! lex.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
- ! lex.o: /usr/include/sys/sysmacros.h /usr/include/string.h
- ! lex.o: /usr/include/fcntl.h /usr/include/sys/fcntlcom.h
- ! lex.o: /usr/include/sys/stat.h /usr/include/unistd.h /usr/include/sys/time.h
- ! lex.o: /usr/include/sys/time.h /local/include/X11/IntrinsicP.h
- lex.o: /local/include/X11/Intrinsic.h /local/include/X11/Xlib.h
- lex.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! lex.o: /usr/include/stddef.h /local/include/X11/Xutil.h
- lex.o: /local/include/X11/Xresource.h /local/include/X11/Core.h
- lex.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- lex.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- lex.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- lex.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- lex.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! lex.o: /usr/include/stdio.h DviP.h Dvi.h DviChar.h device.h
- page.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! page.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
- ! page.o: /usr/include/sys/sysmacros.h /usr/include/string.h
- ! page.o: /usr/include/fcntl.h /usr/include/sys/fcntlcom.h
- ! page.o: /usr/include/sys/stat.h /usr/include/unistd.h /usr/include/sys/time.h
- ! page.o: /usr/include/sys/time.h /local/include/X11/IntrinsicP.h
- page.o: /local/include/X11/Intrinsic.h /local/include/X11/Xlib.h
- page.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! page.o: /usr/include/stddef.h /local/include/X11/Xutil.h
- page.o: /local/include/X11/Xresource.h /local/include/X11/Core.h
- page.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- page.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- page.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- page.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- page.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! page.o: /usr/include/stdio.h /usr/include/ctype.h DviP.h Dvi.h DviChar.h
- page.o: device.h
- parse.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! parse.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
- ! parse.o: /usr/include/sys/sysmacros.h /usr/include/string.h
- ! parse.o: /usr/include/fcntl.h /usr/include/sys/fcntlcom.h
- ! parse.o: /usr/include/sys/stat.h /usr/include/unistd.h
- ! parse.o: /usr/include/sys/time.h /usr/include/sys/time.h
- parse.o: /local/include/X11/IntrinsicP.h /local/include/X11/Intrinsic.h
- parse.o: /local/include/X11/Xlib.h /local/include/X11/X.h
- ! parse.o: /local/include/X11/Xfuncproto.h /usr/include/stddef.h
- parse.o: /local/include/X11/Xutil.h /local/include/X11/Xresource.h
- parse.o: /local/include/X11/Core.h /local/include/X11/Composite.h
- parse.o: /local/include/X11/Constraint.h /local/include/X11/Object.h
- parse.o: /local/include/X11/RectObj.h /local/include/X11/CoreP.h
- parse.o: /local/include/X11/CompositeP.h /local/include/X11/ConstrainP.h
- parse.o: /local/include/X11/ObjectP.h /local/include/X11/RectObjP.h
- ! parse.o: /local/include/X11/StringDefs.h /usr/include/stdio.h
- ! parse.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h
- ! XFontName.o: /local/include/X11/Xlib.h /usr/include/sys/types.h
- ! XFontName.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
- XFontName.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! XFontName.o: /local/include/X11/Xosdefs.h /usr/include/stddef.h
- ! XFontName.o: /local/include/X11/Xos.h /usr/include/string.h
- ! XFontName.o: /usr/include/fcntl.h /usr/include/sys/fcntlcom.h
- ! XFontName.o: /usr/include/sys/stat.h /usr/include/unistd.h
- ! XFontName.o: /usr/include/sys/time.h /usr/include/sys/time.h XFontName.h
- ! XFontName.o: /usr/include/ctype.h
- DviChar.o: DviChar.h
- ! device.o: /usr/include/stdio.h /usr/include/ctype.h /local/include/X11/Xos.h
- ! device.o: /local/include/X11/Xosdefs.h /usr/include/sys/types.h
- ! device.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
- ! device.o: /usr/include/string.h /usr/include/fcntl.h
- ! device.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
- ! device.o: /usr/include/unistd.h /usr/include/sys/time.h
- ! device.o: /usr/include/sys/time.h /local/include/X11/Intrinsic.h
- device.o: /local/include/X11/Xlib.h /local/include/X11/X.h
- ! device.o: /local/include/X11/Xfuncproto.h /usr/include/stddef.h
- device.o: /local/include/X11/Xutil.h /local/include/X11/Xresource.h
- device.o: /local/include/X11/Core.h /local/include/X11/Composite.h
- device.o: /local/include/X11/Constraint.h /local/include/X11/Object.h
- device.o: /local/include/X11/RectObj.h device.h
- ! xtotroff.o: /local/include/X11/Xlib.h /usr/include/sys/types.h
- ! xtotroff.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
- xtotroff.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! xtotroff.o: /local/include/X11/Xosdefs.h /usr/include/stddef.h
- ! xtotroff.o: /usr/include/stdio.h /usr/include/ctype.h XFontName.h DviChar.h
- ! xtotroff.o: /usr/include/stdlib.h
- ! XFontName.o: /local/include/X11/Xlib.h /usr/include/sys/types.h
- ! XFontName.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
- XFontName.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! XFontName.o: /local/include/X11/Xosdefs.h /usr/include/stddef.h
- ! XFontName.o: /local/include/X11/Xos.h /usr/include/string.h
- ! XFontName.o: /usr/include/fcntl.h /usr/include/sys/fcntlcom.h
- ! XFontName.o: /usr/include/sys/stat.h /usr/include/unistd.h
- ! XFontName.o: /usr/include/sys/time.h /usr/include/sys/time.h XFontName.h
- ! XFontName.o: /usr/include/ctype.h
- DviChar.o: DviChar.h
- --- 433,577 ----
- xditview.o: /local/include/X11/Xaw/Simple.h /local/include/X11/Xaw/Dialog.h
- xditview.o: /local/include/X11/Xaw/SimpleMenu.h
- xditview.o: /local/include/X11/Xaw/SmeBSB.h /local/include/X11/Xaw/Sme.h
- ! xditview.o: /gnu/include/signal.h /gnu/include/sys/signal.h
- ! xditview.o: /gnu/include/vm/faultcode.h Dvi.h xdit.bm xdit_mask.bm
- ! xditview.o: /gnu/include/stdio.h
- Dvi.o: /local/include/X11/IntrinsicP.h /local/include/X11/Intrinsic.h
- ! Dvi.o: /local/include/X11/Xlib.h /gnu/include/sys/types.h
- ! Dvi.o: /gnu/include/sys/stdtypes.h /gnu/include/sys/sysmacros.h
- Dvi.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! Dvi.o: /local/include/X11/Xosdefs.h /gnu/include/stddef.h
- Dvi.o: /local/include/X11/Xutil.h /local/include/X11/Xresource.h
- ! Dvi.o: /gnu/include/string.h /local/include/X11/Core.h
- Dvi.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- Dvi.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- Dvi.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- Dvi.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- Dvi.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! Dvi.o: /local/include/X11/Xmu/Converters.h /gnu/include/stdio.h
- ! Dvi.o: /gnu/include/ctype.h DviP.h Dvi.h DviChar.h device.h
- Dvi.o: /local/include/X11/bitmaps/gray
- draw.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! draw.o: /gnu/include/sys/types.h /gnu/include/sys/stdtypes.h
- ! draw.o: /gnu/include/sys/sysmacros.h /gnu/include/string.h
- ! draw.o: /gnu/include/fcntl.h /gnu/include/sys/fcntlcom.h
- ! draw.o: /gnu/include/sys/stat.h /gnu/include/unistd.h /gnu/include/sys/time.h
- ! draw.o: /gnu/include/sys/time.h /local/include/X11/IntrinsicP.h
- draw.o: /local/include/X11/Intrinsic.h /local/include/X11/Xlib.h
- draw.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! draw.o: /gnu/include/stddef.h /local/include/X11/Xutil.h
- draw.o: /local/include/X11/Xresource.h /local/include/X11/Core.h
- draw.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- draw.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- draw.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- draw.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- draw.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! draw.o: /gnu/include/stdio.h /gnu/include/ctype.h /gnu/include/math.h
- ! draw.o: /gnu/include/floatingpoint.h /gnu/include/sys/ieeefp.h DviP.h Dvi.h
- draw.o: DviChar.h device.h
- font.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! font.o: /gnu/include/sys/types.h /gnu/include/sys/stdtypes.h
- ! font.o: /gnu/include/sys/sysmacros.h /gnu/include/string.h
- ! font.o: /gnu/include/fcntl.h /gnu/include/sys/fcntlcom.h
- ! font.o: /gnu/include/sys/stat.h /gnu/include/unistd.h /gnu/include/sys/time.h
- ! font.o: /gnu/include/sys/time.h /local/include/X11/IntrinsicP.h
- font.o: /local/include/X11/Intrinsic.h /local/include/X11/Xlib.h
- font.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! font.o: /gnu/include/stddef.h /local/include/X11/Xutil.h
- font.o: /local/include/X11/Xresource.h /local/include/X11/Core.h
- font.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- font.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- font.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- font.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- font.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! font.o: /gnu/include/stdio.h /gnu/include/ctype.h DviP.h Dvi.h DviChar.h
- font.o: device.h XFontName.h
- lex.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! lex.o: /gnu/include/sys/types.h /gnu/include/sys/stdtypes.h
- ! lex.o: /gnu/include/sys/sysmacros.h /gnu/include/string.h
- ! lex.o: /gnu/include/fcntl.h /gnu/include/sys/fcntlcom.h
- ! lex.o: /gnu/include/sys/stat.h /gnu/include/unistd.h /gnu/include/sys/time.h
- ! lex.o: /gnu/include/sys/time.h /local/include/X11/IntrinsicP.h
- lex.o: /local/include/X11/Intrinsic.h /local/include/X11/Xlib.h
- lex.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! lex.o: /gnu/include/stddef.h /local/include/X11/Xutil.h
- lex.o: /local/include/X11/Xresource.h /local/include/X11/Core.h
- lex.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- lex.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- lex.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- lex.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- lex.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! lex.o: /gnu/include/stdio.h DviP.h Dvi.h DviChar.h device.h
- page.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! page.o: /gnu/include/sys/types.h /gnu/include/sys/stdtypes.h
- ! page.o: /gnu/include/sys/sysmacros.h /gnu/include/string.h
- ! page.o: /gnu/include/fcntl.h /gnu/include/sys/fcntlcom.h
- ! page.o: /gnu/include/sys/stat.h /gnu/include/unistd.h /gnu/include/sys/time.h
- ! page.o: /gnu/include/sys/time.h /local/include/X11/IntrinsicP.h
- page.o: /local/include/X11/Intrinsic.h /local/include/X11/Xlib.h
- page.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! page.o: /gnu/include/stddef.h /local/include/X11/Xutil.h
- page.o: /local/include/X11/Xresource.h /local/include/X11/Core.h
- page.o: /local/include/X11/Composite.h /local/include/X11/Constraint.h
- page.o: /local/include/X11/Object.h /local/include/X11/RectObj.h
- page.o: /local/include/X11/CoreP.h /local/include/X11/CompositeP.h
- page.o: /local/include/X11/ConstrainP.h /local/include/X11/ObjectP.h
- page.o: /local/include/X11/RectObjP.h /local/include/X11/StringDefs.h
- ! page.o: /gnu/include/stdio.h /gnu/include/ctype.h DviP.h Dvi.h DviChar.h
- page.o: device.h
- parse.o: /local/include/X11/Xos.h /local/include/X11/Xosdefs.h
- ! parse.o: /gnu/include/sys/types.h /gnu/include/sys/stdtypes.h
- ! parse.o: /gnu/include/sys/sysmacros.h /gnu/include/string.h
- ! parse.o: /gnu/include/fcntl.h /gnu/include/sys/fcntlcom.h
- ! parse.o: /gnu/include/sys/stat.h /gnu/include/unistd.h
- ! parse.o: /gnu/include/sys/time.h /gnu/include/sys/time.h
- parse.o: /local/include/X11/IntrinsicP.h /local/include/X11/Intrinsic.h
- parse.o: /local/include/X11/Xlib.h /local/include/X11/X.h
- ! parse.o: /local/include/X11/Xfuncproto.h /gnu/include/stddef.h
- parse.o: /local/include/X11/Xutil.h /local/include/X11/Xresource.h
- parse.o: /local/include/X11/Core.h /local/include/X11/Composite.h
- parse.o: /local/include/X11/Constraint.h /local/include/X11/Object.h
- parse.o: /local/include/X11/RectObj.h /local/include/X11/CoreP.h
- parse.o: /local/include/X11/CompositeP.h /local/include/X11/ConstrainP.h
- parse.o: /local/include/X11/ObjectP.h /local/include/X11/RectObjP.h
- ! parse.o: /local/include/X11/StringDefs.h /gnu/include/stdio.h
- ! parse.o: /gnu/include/ctype.h DviP.h Dvi.h DviChar.h device.h
- ! XFontName.o: /local/include/X11/Xlib.h /gnu/include/sys/types.h
- ! XFontName.o: /gnu/include/sys/stdtypes.h /gnu/include/sys/sysmacros.h
- XFontName.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! XFontName.o: /local/include/X11/Xosdefs.h /gnu/include/stddef.h
- ! XFontName.o: /local/include/X11/Xos.h /gnu/include/string.h
- ! XFontName.o: /gnu/include/fcntl.h /gnu/include/sys/fcntlcom.h
- ! XFontName.o: /gnu/include/sys/stat.h /gnu/include/unistd.h
- ! XFontName.o: /gnu/include/sys/time.h /gnu/include/sys/time.h XFontName.h
- ! XFontName.o: /gnu/include/ctype.h
- DviChar.o: DviChar.h
- ! device.o: /gnu/include/stdio.h /gnu/include/ctype.h /local/include/X11/Xos.h
- ! device.o: /local/include/X11/Xosdefs.h /gnu/include/sys/types.h
- ! device.o: /gnu/include/sys/stdtypes.h /gnu/include/sys/sysmacros.h
- ! device.o: /gnu/include/string.h /gnu/include/fcntl.h
- ! device.o: /gnu/include/sys/fcntlcom.h /gnu/include/sys/stat.h
- ! device.o: /gnu/include/unistd.h /gnu/include/sys/time.h
- ! device.o: /gnu/include/sys/time.h /local/include/X11/Intrinsic.h
- device.o: /local/include/X11/Xlib.h /local/include/X11/X.h
- ! device.o: /local/include/X11/Xfuncproto.h /gnu/include/stddef.h
- device.o: /local/include/X11/Xutil.h /local/include/X11/Xresource.h
- device.o: /local/include/X11/Core.h /local/include/X11/Composite.h
- device.o: /local/include/X11/Constraint.h /local/include/X11/Object.h
- device.o: /local/include/X11/RectObj.h device.h
- ! xtotroff.o: /local/include/X11/Xlib.h /gnu/include/sys/types.h
- ! xtotroff.o: /gnu/include/sys/stdtypes.h /gnu/include/sys/sysmacros.h
- xtotroff.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! xtotroff.o: /local/include/X11/Xosdefs.h /gnu/include/stddef.h
- ! xtotroff.o: /gnu/include/stdio.h /gnu/include/ctype.h XFontName.h DviChar.h
- ! xtotroff.o: /gnu/include/stdlib.h
- ! XFontName.o: /local/include/X11/Xlib.h /gnu/include/sys/types.h
- ! XFontName.o: /gnu/include/sys/stdtypes.h /gnu/include/sys/sysmacros.h
- XFontName.o: /local/include/X11/X.h /local/include/X11/Xfuncproto.h
- ! XFontName.o: /local/include/X11/Xosdefs.h /gnu/include/stddef.h
- ! XFontName.o: /local/include/X11/Xos.h /gnu/include/string.h
- ! XFontName.o: /gnu/include/fcntl.h /gnu/include/sys/fcntlcom.h
- ! XFontName.o: /gnu/include/sys/stat.h /gnu/include/unistd.h
- ! XFontName.o: /gnu/include/sys/time.h /gnu/include/sys/time.h XFontName.h
- ! XFontName.o: /gnu/include/ctype.h
- DviChar.o: DviChar.h
- diff -rc --new-file groff-1.09/xditview/device.c /gnu/src/amiga/groff-1.09/xditview/device.c
- *** groff-1.09/xditview/device.c Thu May 27 19:30:56 1993
- --- /gnu/src/amiga/groff-1.09/xditview/device.c Mon Feb 21 16:34:01 1994
- ***************
- *** 9,15 ****
- #include "device.h"
-
- #ifndef FONTPATH
- ! #define FONTPATH "/usr/local/lib/groff/font:/usr/local/lib/font:/usr/lib/font"
- #endif
-
- #ifndef isascii
- --- 9,15 ----
- #include "device.h"
-
- #ifndef FONTPATH
- ! #define FONTPATH "/gnu/lib/groff/font:/gnu/lib/font:/local/lib/font:/local/lib/groff/font"
- #endif
-
- #ifndef isascii
-