summaryrefslogtreecommitdiffstats
path: root/Documentation/sphinx/parse-headers.pl
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-07 18:04:01 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-07 20:13:17 +0200
commit153234c47c8b260ed92a56e9f7d6c91eb6785aa8 (patch)
treef1ec3bfe991257238ad66c62d3dffb7a542ef661 /Documentation/sphinx/parse-headers.pl
parentdoc-rst: parse-headers: add an option to ignore enum symbols (diff)
downloadlinux-153234c47c8b260ed92a56e9f7d6c91eb6785aa8.tar.xz
linux-153234c47c8b260ed92a56e9f7d6c91eb6785aa8.zip
doc-rst: parse-headers: don't do substituition references
Add one extra escape character to avoid those warnings: Documentation/linux_tv/videodev2.h.rst:6: WARNING: Inline substitution_reference start-string without end-string. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/sphinx/parse-headers.pl')
-rwxr-xr-xDocumentation/sphinx/parse-headers.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/sphinx/parse-headers.pl b/Documentation/sphinx/parse-headers.pl
index 16ea28b0d2e1..0a3703bef5eb 100755
--- a/Documentation/sphinx/parse-headers.pl
+++ b/Documentation/sphinx/parse-headers.pl
@@ -220,7 +220,7 @@ $data =~ s/\n\s+\n/\n\n/g;
#
# Add escape codes for special characters
#
-$data =~ s,([\_\`\*\<\>\&\\\\:\/]),\\$1,g;
+$data =~ s,([\_\`\*\<\>\&\\\\:\/\|]),\\$1,g;
$data =~ s,DEPRECATED,**DEPRECATED**,g;