summaryrefslogtreecommitdiff
path: root/lib/ylwrap
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ylwrap')
-rwxr-xr-xlib/ylwrap15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/ylwrap b/lib/ylwrap
index 5ca021feb..4cc3adfba 100755
--- a/lib/ylwrap
+++ b/lib/ylwrap
@@ -111,14 +111,6 @@ case $input in
esac
input_rx=`get_dirname "$input" | quote_for_sed`
-# Since DOS filename conventions don't allow two dots,
-# the DOS version of Bison writes out y_tab.c instead of y.tab.c
-# and y_tab.h instead of y.tab.h. Test to see if this is the case.
-y_tab_nodot=false
-if test -f y_tab.c || test -f y_tab.h; then
- y_tab_nodot=true
-fi
-
# The parser itself, the first file, is the destination of the .y.c
# rule in the Makefile.
parser=$1
@@ -138,13 +130,6 @@ while test $# -ne 0; do
break
fi
from=$1
- # Handle y_tab.c and y_tab.h output by DOS
- if $y_tab_nodot; then
- case $from in
- "y.tab.c") from=y_tab.c;;
- "y.tab.h") from=y_tab.h;;
- esac
- fi
shift
to=$1
shift