X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5aaad6c43154f3e69c4e49616d29b1f95b012881..064e42b0aca1db0ca84b06b01cac5a40f3016591:/tests/bison.in diff --git a/tests/bison.in b/tests/bison.in index aedd75d9..b8e0e057 100644 --- a/tests/bison.in +++ b/tests/bison.in @@ -19,7 +19,7 @@ abs_top_srcdir='@abs_top_srcdir@' abs_top_builddir='@abs_top_builddir@' -: ${PERL='@perl@'} +: ${PERL='@PERL@'} # Use the shipped files, not those installed. BISON_PKGDATADIR=$abs_top_srcdir/data @@ -40,8 +40,9 @@ do # post-processes the synclines on y.tab.c itself. Don't let it # do it. Besides, it leaves "parse-gram.y" as the source, # dropping the src/ part. - $PERL -pi -e 's{"y\.tab\.}{"src/parse-gram.}g;' \ - -e 's{".*/(parse-gram\.y)"}{"src/$1"}g;' \ + $PERL -pi -e 's{"y\.tab\.}{"src/parse-gram.}g;' \ + -e 's{".*/(parse-gram\.y)"}{"src/$1"}g;' \ + -e 's{GRAM_Y_TAB_H}{GRAM_SRC_PARSE_GRAM_H}g;' \ y.tab.[ch] fi ;;