Explorar o código

tools/dev/starpu_check_undocumented.sh: only grep .h files when looking for macros definitions

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
06216d05ff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/dev/starpu_check_undocumented.sh

+ 1 - 1
tools/dev/starpu_check_undocumented.sh

@@ -56,7 +56,7 @@ done
 
 echo
 
-macros=$(grep "define\b" include/*|grep -v deprecated|grep "#" | grep -v "__" | sed 's/#[ ]*/#/g' | awk '{print $2}' | awk -F'(' '{print $1}' | sort|uniq)
+macros=$(grep "define\b" include/*.h |grep -v deprecated|grep "#" | grep -v "__" | sed 's/#[ ]*/#/g' | awk '{print $2}' | awk -F'(' '{print $1}' | sort|uniq)
 for macro in $macros ; do
     x=$(grep "$macro\b" doc/starpu.texi doc/chapters/*texi | grep defmac)
     if test "$x" == "" ; then