ソースを参照

wikiheaders: Ignore doxygen comments that aren't "/**" on a line by itself.

Makes this ignore /** single line comments */
Ryan C. Gordon 3 年 前
コミット
269d0773c7
1 ファイル変更1 行追加1 行削除
  1. 1 1
      build-scripts/wikiheaders.pl

+ 1 - 1
build-scripts/wikiheaders.pl

@@ -268,7 +268,7 @@ while (readdir(DH)) {
 
     while (<FH>) {
         chomp;
-        if (not /\A\/\*\*/) {  # not doxygen comment start?
+        if (not /\A\/\*\*\s*\Z/) {  # not doxygen comment start?
             push @contents, $_;
             next;
         }