* src/sanity/includes.test: Work around a bug in Bison 2.6.
This commit is contained in:
parent
c05ec36dd0
commit
fb38fe56aa
1 changed files with 4 additions and 0 deletions
|
|
@ -16,6 +16,10 @@ for file in `find "$INCDIR" \( -name "${1-*}.hh" \
|
||||||
b=`echo "$file" | tr '[/.a-z]' '[__A-Z]'`
|
b=`echo "$file" | tr '[/.a-z]' '[__A-Z]'`
|
||||||
if grep "[ ]*#.*def.* SPOT_$b\$" "$INCDIR/$file" >/dev/null; then
|
if grep "[ ]*#.*def.* SPOT_$b\$" "$INCDIR/$file" >/dev/null; then
|
||||||
:
|
:
|
||||||
|
elif grep 'GNU Bison 2\.6' "$INCDIR/$file" >/dev/null; then
|
||||||
|
# Bison 2.6, 2.6.1, 2.6.2 have a bug where position.hh
|
||||||
|
# include <iosfwd> instead of <iostream>.
|
||||||
|
continue
|
||||||
elif grep 'GNU Bison' "$INCDIR/$file" >/dev/null; then
|
elif grep 'GNU Bison' "$INCDIR/$file" >/dev/null; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue