summaryrefslogtreecommitdiff
path: root/perl/Locale/Po4a/Text.pm
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-08-02 23:41:37 +0200
committerJonas Smedegaard <dr@jones.dk>2008-08-02 23:41:37 +0200
commitd0c0798f1ef43680ccc322caa84a5bb8d0890d6b (patch)
tree22e09fc10105f7ade4ea15b9e783cb522e51765f /perl/Locale/Po4a/Text.pm
parentd3836ce9d56ce37e7e405d703651d7a8926d2553 (diff)
Sync Locale::Po4a::Text with po4a 0.34.
Diffstat (limited to 'perl/Locale/Po4a/Text.pm')
-rw-r--r--perl/Locale/Po4a/Text.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/perl/Locale/Po4a/Text.pm b/perl/Locale/Po4a/Text.pm
index eecd333..093b572 100644
--- a/perl/Locale/Po4a/Text.pm
+++ b/perl/Locale/Po4a/Text.pm
@@ -130,7 +130,16 @@ sub parse {
my $wrapped_mode = 1;
my $expect_header = 1;
($line,$ref)=$self->shiftline();
+ my $file = $ref;
+ $file =~ s/:[0-9]+$//;
while (defined($line)) {
+ $ref =~ m/^(.*):[0-9]+$/;
+ if ($1 ne $file) {
+ $file = $1;
+ do_paragraph($self,$paragraph,$wrapped_mode);
+ $paragraph="";
+ }
+
chomp($line);
$self->{ref}="$ref";
if ($debianchangelog and
'>
-rw-r--r--tags/88/98/20200309235801.GA16465@curuxu/debian0
-rw-r--r--tags/88/98/20200309235801.GA16465@curuxu/killed0
-rw-r--r--tags/88/98/20200309235801.GA16465@curuxu/signed0
-rw-r--r--tags/88/98/20200309235801.GA16465@curuxu/unread0
-rw-r--r--tags/88/98/4C694C0C.40600@debian.org/debian0
-rw-r--r--tags/88/98/4C694C0C.40600@debian.org/replied0
-rw-r--r--tags/88/98/521B65E9.8030700@credativ.com/debian0
-rw-r--r--tags/88/98/521B65E9.8030700@credativ.com/unread0
-rw-r--r--tags/88/98/7bcfdbc4-f5ab-38f1-3542-aff04e0b2380@the-gammons.net/unread0
-rw-r--r--tags/88/98/8454d833-11cc-2a6b-c044-8f411b106071@rilynn.me.uk/debian0
-rw-r--r--tags/88/98/8454d833-11cc-2a6b-c044-8f411b106071@rilynn.me.uk/unread0
-rw-r--r--tags/88/98/87lins192q.fsf@frosties.localnet/debian0
-rw-r--r--tags/88/98/948b197c0905041622r5b1bf8e9j1d0e7d24522fe242@mail.gmail.com/sugar0
-rw-r--r--tags/88/98/948b197c0905041622r5b1bf8e9j1d0e7d24522fe242@mail.gmail.com/unread0
-rw-r--r--tags/88/98/CA+W_mdU0yuQVHJ7m3tmchYbR7B1u+-=as123RxkL0L0RrpfCww@mail.gmail.com/sugar0
-rw-r--r--tags/88/98/CA+W_mdU0yuQVHJ7m3tmchYbR7B1u+-=as123RxkL0L0RrpfCww@mail.gmail.com/unread0
-rw-r--r--tags/88/98/E1ohO5o-001kkU-C4@respighi.debian.org/debian0
-rw-r--r--tags/88/98/E1ohO5o-001kkU-C4@respighi.debian.org/inbox0
-rw-r--r--tags/88/98/E1ohO5o-001kkU-C4@respighi.debian.org/killed0
-rw-r--r--tags/88/98/E1ohO5o-001kkU-C4@respighi.debian.org/unread0
-rw-r--r--tags/88/98/YfgvultsqkeFlwKr@hp-i3.shibaya.lonestar.org/unread0
33 files changed, 0 insertions, 0 deletions