7 print "not " unless $ok;
12 # The auxiliary file contains a bunch of code that systematically exercises
13 # every place that can call lex_next_chunk() (except for the one that's not
14 # used by the main Perl parser).
15 open AUX, "<", "comp/line_debug_0.aux" or die $!;
20 print "1..", 2+$nlines, "\n";
23 do "comp/line_debug_0.aux";
25 ok 1, scalar(@{"_<comp/line_debug_0.aux"}) == 1+$nlines;
26 ok 2, !defined(${"_<comp/line_debug_0.aux"}[0]);
29 if (!ok 2+$_, ${"_<comp/line_debug_0.aux"}[$_] eq $lines[$_-1]) {
30 print "# Got: ", ${"_<comp/line_debug_0.aux"}[$_]//"undef\n";
31 print "# Expected: $lines[$_-1]";