[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.182,1.183"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Wed Aug 23 20:28:06 UTC 2006


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv481/lib/Locale/Po4a

Modified Files:
	Man.pm 
Log Message:
Call re_init only once, in docheader.
When it was called in the .TH and .Dd macros, it used to remove
the comments at the beginning (e.g. copyright notice, preprocessor
indications, etc.


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -d -r1.182 -r1.183
--- Man.pm	20 Aug 2006 08:58:37 -0000	1.182
+++ Man.pm	23 Aug 2006 20:28:04 -0000	1.183
@@ -1642,7 +1642,6 @@
 #    print STDERR "TH=$th;titre=$title;sec=$section;date=$date;source=$source;manual=$manual\n";
 
     # Reset the memories
-    re_init();
     $self->push_docheader();
 
     $self->pushmacro($th,
@@ -2189,7 +2188,6 @@
 $macro{'Dd'}=sub {
     my ($self,$macroname,$macroarg)=(shift,shift,join(" ", at _));
 
-    re_init();
     $mdoc_mode = 1;
     $self->push_docheader();
 




More information about the Po4a-commits mailing list