Преглед на файлове

doc-dst: parse-headers: highlight deprecated comments

When something is deprecated, highlight it, as we want it
to be clearer to the reader.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Mauro Carvalho Chehab преди 9 години
родител
ревизия
7d95fa8d66
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      Documentation/sphinx/parse-headers.pl

+ 2 - 0
Documentation/sphinx/parse-headers.pl

@@ -196,6 +196,8 @@ $data =~ s/\n\s+\n/\n\n/g;
 #
 $data =~ s,([\_\`\*\<\>\&\\\\:\/]),\\$1,g;
 
+$data =~ s,DEPRECATED,**DEPRECATED**,g;
+
 #
 # Add references
 #