]> git.saurik.com Git - bison.git/blobdiff - tests/bison.in
tests: check the "%define variant" is deprecated.
[bison.git] / tests / bison.in
index f004a57125fb4ead6f8a7df8d2c1ff64b5f9bd4b..b8e0e057817aefbafda3ec0630a4d86624956890 100644 (file)
@@ -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
     ;;