OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9767ec6
)
doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields
author
Stefano Sabatini
<stefasab@gmail.com>
Thu, 7 Mar 2013 00:43:39 +0000
(
01:43
+0100)
committer
Stefano Sabatini
<stefasab@gmail.com>
Thu, 7 Mar 2013 00:44:59 +0000
(
01:44
+0100)
Fix potential spurious substitution.
doc/texi2pod.pl
patch
|
blob
|
history
diff --git
a/doc/texi2pod.pl
b/doc/texi2pod.pl
index
5c3aba6
..
697576c
100755
(executable)
--- 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;