Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4000444b

Von Sven Schöling vor fast 13 Jahren hinzugefügt

  • ID 4000444b681301ef283c2c0ea55f41edb0deeb42
  • Vorgänger f4d85933
  • Nachfolger 74fca575

Testoutput bei PPI Parsingfehlern angepasst.

Unterschiede anzeigen:

t/structure/no_lexicals_in_postif.t
24 24
my @testitems = @Support::Files::testitems;
25 25

  
26 26
foreach my $file (@testitems) {
27
  next unless -f $file;
28 27
  my $clean = 1;
29 28
  my $doc = PPI::Document->new($file) or do {
30
    ok 0, "PPI error for file $file: " . PPI::Document::errstr();
29
    print $fh "?: PPI error for file $file: " . PPI::Document::errstr() . "\n";
30
    ok 0, $file;
31 31
    next;
32 32
  };
33 33
  my $stmts = $doc->find('Statement::Variable');

Auch abrufbar als: Unified diff