summaryrefslogtreecommitdiff
path: root/U/yacc.U
diff options
context:
space:
mode:
Diffstat (limited to 'U/yacc.U')
-rw-r--r--U/yacc.U81
1 files changed, 0 insertions, 81 deletions
diff --git a/U/yacc.U b/U/yacc.U
deleted file mode 100644
index 679970c34e..0000000000
--- a/U/yacc.U
+++ /dev/null
@@ -1,81 +0,0 @@
-?RCS: $Id: yacc.U,v 3.0 1993/08/18 12:10:03 ram Exp $
-?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
-?RCS: You may redistribute only under the terms of the Artistic Licence,
-?RCS: as specified in the README file that comes with the distribution.
-?RCS: You may reuse parts of this distribution only within the terms of
-?RCS: that same Artistic Licence; a copy of which may be found at the root
-?RCS: of the source tree for dist 3.0.
-?RCS:
-?RCS: $Log: yacc.U,v $
-?RCS: Revision 3.0 1993/08/18 12:10:03 ram
-?RCS: Baseline for dist 3.0 netwide release.
-?RCS:
-?MAKE:yacc yaccflags: Guess Myread Oldconfig byacc bison cat test package
-?MAKE: -pick add $@ %<
-?S:yacc:
-?S: This variable holds the name of the compiler compiler we
-?S: want to use in the Makefile. It can be yacc, byacc, or bison -y.
-?S:.
-?S:yaccflags:
-?S: This variable contains any additional yacc flags desired by the
-?S: user. It is up to the Makefile to use this.
-?S:.
-: determine compiler compiler
-case "$yacc" in
-'')
- dflt=yacc;;
-*)
- dflt="$yacc";;
-esac
-echo " "
-rp="yacc"
-if $test -f "$byacc"; then
- dflt="$byacc"
- rp="byacc or $rp"
-fi
-if $test -f "$bison"; then
- rp="$rp or bison -y"
-fi
-$cat <<EOM
-$package no longer requires a compiler compiler, so the following is optional.
-EOM
-rp="Which compiler compiler ($rp) shall I use?"
-. ./myread
-yacc="$ans"
-case "$yacc" in
-*bis*)
- case "$yacc" in
- *-y*) ;;
- *)
- yacc="$yacc -y"
- echo "(Adding -y option to bison to get yacc-compatible behaviour.)"
- ;;
- esac
- ;;
-esac
-
-@if yaccflags
-: see if we need extra yacc flags
-dflt="$yaccflags"
-case "$dflt" in
-'') dflt=none;;
-esac
-$cat <<EOH
-
-Your yacc program may need extra flags to normally process the parser sources.
-Do NOT specify any -d or -v flags here, since those are explicitely known
-by the various Makefiles. However, if your machine has strange/undocumented
-options (like -Sr# on SCO to specify the maximum number of grammar rules), then
-please add them here. To use no flags, specify the word "none".
-
-EOH
-rp="Any additional yacc flags?"
-. ./myread
-case "$ans" in
-none) yaccflags='';;
-*) yaccflags="$ans";;
-esac
-
-@end