X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fyppedia-chart-parser;h=84386b207e1b394dc5032ea56933b3c9d25d3bab;hb=6a03862e8e23287617045432cc14fb15305c2261;hp=4ce6bcecd36195da8061b9ff2cf93d0e7f983f3d;hpb=697b9c2b3e6472107aa6364cd1d4bed04b5cd633;p=ypp-sc-tools.main.git diff --git a/yarrg/yppedia-chart-parser b/yarrg/yppedia-chart-parser index 4ce6bce..84386b2 100755 --- a/yarrg/yppedia-chart-parser +++ b/yarrg/yppedia-chart-parser @@ -55,7 +55,11 @@ my @msgkinds= qw(change warning error); my %msgs; my %msgprinted; my %msgkindprinted; -sub pmsg ($$) { push @{ $msgs{$_[0]} }, "$_[0]: $_[1]\n"; } +sub pmsg ($$) { + my $m= "$_[0]: $_[1]\n"; + print DEBUG "D $m"; + push @{ $msgs{$_[0]} }, $m; +} sub warning ($) { pmsg("warning",$_[0]); } sub error ($) { pmsg("error", $_[0]); } sub change ($) { pmsg("change", $_[0]); }