diff options
Diffstat (limited to 'lib/ylwrap')
-rwxr-xr-x | lib/ylwrap | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/ylwrap b/lib/ylwrap index b5c673d5f..d59f6aa6e 100755 --- a/lib/ylwrap +++ b/lib/ylwrap @@ -1,7 +1,7 @@ #! /bin/sh # ylwrap - wrapper for lex/yacc invocations. -scriptversion=2012-12-21.17; # UTC +scriptversion=2012-12-28.20; # UTC # Copyright (C) 1996-2012 Free Software Foundation, Inc. # @@ -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 |