Parcourir la source

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

Nathalie Furmento il y a 11 ans
Parent
commit
cf8d54ed51
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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