[Po4a-commits] "po4a/lib/Locale/Po4a Po.pm,1.81,1.82"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Sat Sep 15 16:48:21 UTC 2007
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv22425/lib/Locale/Po4a
Modified Files:
Po.pm
Log Message:
iWhen we parse msgid, the $buffer should be empty. Do not concatenate.
Index: Po.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Po.pm,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- Po.pm 15 Sep 2007 16:15:02 -0000 1.81
+++ Po.pm 15 Sep 2007 16:48:19 -0000 1.82
@@ -238,7 +238,7 @@
$comment .= (defined($comment) ? "\n" : "").($1||"");
} elsif ($line =~ /^msgid (".*")$/) { # begin of msgid
- $buffer .= (defined($buffer) ? "\n" : "").$1;
+ $buffer = $1;
} elsif ($line =~ /^msgstr (".*")$/) { # begin of msgstr, end of msgid
$msgid = $buffer;
More information about the Po4a-commits
mailing list