Explorar o código

doc/doxygen/doxygen_filter.sh.in: only remove lines which START with //

Nathalie Furmento %!s(int64=11) %!d(string=hai) anos
pai
achega
cf8d54ed51
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      doc/doxygen/doxygen_filter.sh.in

+ 1 - 1
doc/doxygen/doxygen_filter.sh.in

@@ -5,6 +5,6 @@ if [ "$(basename $1)" == "starpufft.h" ] ; then
 else
     # the macro STARPU_DEPRECATED needs to be removed as it is not properly processed by doxygen
     # lines starting with // in the doxygen input files are considered as comments to be removed
-    sed -e 's/STARPU_DEPRECATED//' $1 | sed 's/\/\/.*//'
+    sed -e 's/STARPU_DEPRECATED//' $1 | sed 's/^\/\/.*//'
 fi