Browse Source

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 năm trước cách đây
mục cha
commit
7d95fa8d66
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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
 #