reset (debug) junk counter between blocks
authorMischa POSLAWSKY <perl@shiar.org>
Fri, 4 Feb 2011 06:09:22 +0000 (07:09 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Fri, 4 Feb 2011 06:09:22 +0000 (07:09 +0100)
git-grep-footer

index fa417c114bb41bf8ad9604a7665eb56ae2e0235d..c39222fd9d6a3280cd817d88d72e1d086bfc8a64 100755 (executable)
@@ -40,12 +40,12 @@ while (readline) {
        # if invalid, assume it's latin1
               $_ = decode(cp1252 => $_) if $@;
 
-       my $prefix = 0;
        my %attr;
 
        BLOCK:
        for (reverse split /\n\n/) {
                my @headers;
+               my $prefix = 0;
 
                LINE:
                for (split /\n/) {