summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-07 01:43:39 +0100
committerTimothy Gu <timothygu99@gmail.com>2013-08-28 09:35:20 -0700
commitb7a4b4c145eae1d070a313250e6f0f66e8519c2a (patch)
tree6240d772add4fdabeae6f611dc9b8f8c99ff7b33 /doc
parentde1609bc2d0f9259c344cb9574859ab4a288d521 (diff)
downloadffmpeg-b7a4b4c145eae1d070a313250e6f0f66e8519c2a.tar.gz
doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields
Fix potential spurious substitution. (cherry picked from commit 9167db3829f360f241255d4240ba6b7135ab4111) Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/texi2pod.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index fc23c7bcb6..610f349afb 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -377,7 +377,7 @@ sub postprocess
s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
s/;\s+\@pxref\{(?:[^\}]*)\}//g;
- s/\@ref\{(?:[^,]*,)(?:[^,]*,)([^,\}]*).*\}/$1/g;
+ s/\@ref\{(?:[^,\}]*,)(?:[^,\}]*,)([^,\}]*).*\}/$1/g;
s/\@ref\{([^\}]*)\}/$1/g;
s/\@noindent\s*//g;
s/\@refill//g;