Jelajahi Sumber

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

Makes this ignore /** single line comments */
Ryan C. Gordon 4 tahun lalu
induk
melakukan
269d0773c7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      build-scripts/wikiheaders.pl

+ 1 - 1
build-scripts/wikiheaders.pl

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