[FFmpeg-cvslog] texi2pod: Handle @verbatim

Timothy Gu git at videolan.org
Sat Apr 11 01:29:59 CEST 2015


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Fri Apr 10 10:47:55 2015 -0700| [5faca08cafc17247ad392620e3b26ab4a70dc4ce] | committer: Michael Niedermayer

texi2pod: Handle @verbatim

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5faca08cafc17247ad392620e3b26ab4a70dc4ce
---

 doc/texi2pod.pl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 6127dd8..e1ff6b4 100644
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -166,7 +166,7 @@ INF: while(<$inf>) {
         if ($ended =~ /^(?:ifset|ifclear|ignore|menu|iftex|ifhtml|ifnothtml)$/) {
             $skipping = pop @skstack;
             next;
-        } elsif ($ended =~ /^(?:example|smallexample|display)$/) {
+        } elsif ($ended =~ /^(?:example|smallexample|verbatim|display)$/) {
             $shift = "";
             $_ = "";        # need a paragraph break
         } elsif ($ended =~ /^(?:itemize|enumerate|(?:multi|[fv])?table)$/) {
@@ -290,7 +290,7 @@ INF: while(<$inf>) {
         $_ = "\n=over 4\n";
     };
 
-    /^\@((?:small)?example|display)/ and do {
+    /^\@((?:small)?example|verbatim|display)/ and do {
         push @endwstack, $endw;
         $endw = $1;
         $shift = "\t";



More information about the ffmpeg-cvslog mailing list