X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3eb4f1a3e62807125a815dc572da9204b5b51865..60607adb3c14bd0fea3eb217b1a9fccd2c308122:/tests/bison.in diff --git a/tests/bison.in b/tests/bison.in index f004a571..c0fb1437 100644 --- a/tests/bison.in +++ b/tests/bison.in @@ -2,7 +2,7 @@ # @configure_input@ # Wrapper around a non installed bison to make it work as an installed one. -# Copyright (C) 2001-2012 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 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 @@ -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 ;;