From 105ced2de7ea415d0f365582ac6b939ca9e48bb4 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Wed, 23 Jul 2014 09:23:52 +0200 Subject: [PATCH] fixed bison generation --- utils/bison-c.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/bison-c.sh b/utils/bison-c.sh index 0dcd7ef9d3..489c5957e3 100755 --- a/utils/bison-c.sh +++ b/utils/bison-c.sh @@ -21,5 +21,7 @@ ${BISON} -d -ra -o ${OUTPUT} ${INPUT} PREFIX=`echo ${OUTPUT} | sed -e 's:\.cpp$::'` -test -f ${PREFIX}.h || exit 1 +test -f ${PREFIX}.hpp || exit 1 test -f ${PREFIX}.cpp || exit 1 + +cp ${PREFIX}.hpp ${PREFIX}.h