浏览代码

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

Nathalie Furmento 11 年之前
父节点
当前提交
cf8d54ed51
共有 1 个文件被更改,包括 1 次插入1 次删除
  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