* src/sanity/includes.test: Also check *.hxx files.

* src/tgbaalgos/ndfs_result.hxx: Rename the include guard.
This commit is contained in:
Alexandre Duret-Lutz 2005-01-04 13:32:53 +00:00
parent e9beca0d56
commit 7216701631
3 changed files with 11 additions and 5 deletions

View file

@ -6,8 +6,9 @@ set -e
rm -f failures
for file in `find "$INCDIR" -name "${1-*}.hh" -type f -print |
sed "s,$INCDIR/,,g"`; do
for file in `find "$INCDIR" \( -name "${1-*}.hh" \
-o -name "${1-*}.hxx" \) \
-a -type f -a -print | sed "s,$INCDIR/,,g"`; do
b=`echo "$file" | tr '[/.a-z]' '[__A-Z]'`
if grep "[ ]*#.*def.* SPOT_$b\$" "$INCDIR/$file" >/dev/null; then

View file

@ -19,8 +19,8 @@
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
#ifndef SPOT_TGBAALGOS_NDFS_RESULT_HH
# define SPOT_TGBAALGOS_NDFS_RESULT_HH
#ifndef SPOT_TGBAALGOS_NDFS_RESULT_HXX
# define SPOT_TGBAALGOS_NDFS_RESULT_HXX
//#define NDFSR_TRACE
@ -628,4 +628,4 @@ namespace spot
#undef ndfsr_trace
#endif // SPOT_TGBAALGOS_NDFS_RESULT_HH
#endif // SPOT_TGBAALGOS_NDFS_RESULT_HXX