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 years ago
parent
commit
7d95fa8d66
1 changed files with 2 additions and 0 deletions
  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,([\_\`\*\<\>\&\\\\:\/]),\\$1,g;
 
 
+$data =~ s,DEPRECATED,**DEPRECATED**,g;
+
 #
 #
 # Add references
 # Add references
 #
 #