aboutsummaryrefslogtreecommitdiffstats
path: root/doc/texi2pod.pl
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-07 01:43:39 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-03-07 01:44:59 +0100
commit9167db3829f360f241255d4240ba6b7135ab4111 (patch)
tree9a6992ecf98d479579ddf8944a3d7dc417529af7 /doc/texi2pod.pl
parent9767ec6b865c35f68cb6642fefeacc009f17e638 (diff)
downloadffmpeg-9167db3829f360f241255d4240ba6b7135ab4111.tar.gz
doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields
Fix potential spurious substitution.
Diffstat (limited to 'doc/texi2pod.pl')
-rwxr-xr-xdoc/texi2pod.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 5c3aba69f4..697576c185 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;