Next Program Repair Shop 240

The Condition that Ate Michigan

      while (<INFILE>) {
        chomp;
        last if /^SCAN_CELLS/;
        $seen_CHAIN_TEST=1  if /CHAIN_TEST/;
        if (/apply/ && $seen_CHAIN_TEST) {
          $ct_scanout = 1 if /apply\s*"grp[0-9]_unload"/;

          next unless /\t*chain\s+"chain([0-9])"/;
          $chain_number = $1;
          &cleanup;
          $chain_input = (split /=/,$_)[1];
          $chain_input =~ tr/\"//d;
          $chain[$chain_number] = [split //, $chain_input];
          &printout if $chain_number == 7;          
        }
      }


Next Copyright © 2002 M. J. Dominus