Do not remove the generated .hpp file from yacc.

Depending on the file extension of the generated C++ file,
bison will generate a #include of a .h or .hpp. So both files
must be kept in the generated directory.

Change-Id: Id0aac7f407bdc69c7f5012c0d021761b0fceb427
This commit is contained in:
Nicolas Geoffray 2014-03-04 14:48:55 +00:00
parent 6808c2608f
commit 3cb9ddbdec
1 changed files with 0 additions and 1 deletions

View File

@ -850,7 +850,6 @@ echo '#ifndef '$(@F:$1=_h) > $(@:$1=.h)
echo '#define '$(@F:$1=_h) >> $(@:$1=.h)
cat $(@:$1=$(YACC_HEADER_SUFFIX)) >> $(@:$1=.h)
echo '#endif' >> $(@:$1=.h)
rm -f $(@:$1=$(YACC_HEADER_SUFFIX))
endef
###########################################################