[Po4a-commits] po4a/lib/Locale/Po4a TeX.pm,1.50,1.51

Nicolas FRAN??OIS po4a-devel@lists.alioth.debian.org
Fri, 11 Mar 2005 23:41:21 +0000


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

Modified Files:
	TeX.pm 
Log Message:
Be less strict on "% po4a: " lines.
Those lines were in fact not always recognized by the same regexp.

This is not an issue for those readding the manual;)


Index: TeX.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TeX.pm,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- TeX.pm	11 Mar 2005 23:20:05 -0000	1.50
+++ TeX.pm	11 Mar 2005 23:41:18 -0000	1.51
@@ -900,7 +900,7 @@
 
 sub parse_definition_line {
     my ($self,$line)=@_;
-    $line =~ s/^\s*%\s+po4a\s*:\s*//;
+    $line =~ s/^\s*%\s*po4a\s*:\s*//;
 
     if ($line =~ /^command\s+(\*?)(\w+)\s+(.*)$/) {
         my $command = $2;