Changeset 22837 for src

Show
Ignore:
Timestamp:
10/31/08 08:02:07 (2 months ago)
Author:
azawawi
Message:

[STD_syntax_highlight] ETOOMUCHTIME --simple => --redspans

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/ETOOMUCHTIME

    r22787 r22837  
    4242    my $myfile = $file; 
    4343    $myfile =~ s/^\.\.\/\.\.\/t\/spec/html/;    
    44     my ($simple_html,$full_html) = ("$myfile.simple.html", "$myfile.html"); 
     44    my ($redspans_html,$full_html) = ("$myfile.simple.html", "$myfile.html"); 
    4545    my ($html_filename,$html_path,$html_suffix) = fileparse($full_html); 
    4646    mkpath $html_path; 
     
    5151$file 
    5252    -> $full_html 
    53     -> $simple_html 
     53    -> $redspans_html 
    5454OUT 
    5555    my $t0 = new Benchmark; 
    5656    my $cmd = "./$HILITE --clean-html " . 
    57             "--simple-html=$simple_html " . 
     57            "--redspans-html=$redspans_html " . 
    5858            "--full-html=$full_html $file"; 
    5959    my $log = `$cmd 2>&1`; 
     
    8484</pre></body></html> 
    8585ERROR 
    86         open SIMPLE_HTML, ">$simple_html" 
    87             or die "Could not open $simple_html for writing: $OS_ERROR\n"; 
    88         print SIMPLE_HTML $error_html;        
    89         close SIMPLE_HTML; 
     86        open REDSPANS_HTML, ">$redspans_html" 
     87            or die "Could not open $redspans_html for writing: $OS_ERROR\n"; 
     88        print REDSPANS_HTML $error_html;        
     89        close REDSPANS_HTML; 
    9090        open FULL_HTML, ">$full_html" 
    9191            or die "Could not open $full_html for writing: $OS_ERROR\n";