/[suikacvs]/test/html-webhacc/cc.cgi
Suika

Diff of /test/html-webhacc/cc.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38 by wakaba, Tue Mar 11 14:10:11 2008 UTC revision 1.39 by wakaba, Sun Mar 16 01:30:56 2008 UTC
# Line 86  if (defined $input->{s}) { Line 86  if (defined $input->{s}) {
86      <dd>$char_length byte@{[$char_length == 1 ? '' : 's']}</dd>      <dd>$char_length byte@{[$char_length == 1 ? '' : 's']}</dd>
87  </dl>  </dl>
88  </div>  </div>
89    
90    <script src="../cc-script.js"></script>
91  ];  ];
92    
93    $input->{id_prefix} = '';    $input->{id_prefix} = '';
# Line 292  sub print_syntax_error_html_section ($$) Line 294  sub print_syntax_error_html_section ($$)
294  <div id="$input->{id_prefix}parse-errors" class="section">  <div id="$input->{id_prefix}parse-errors" class="section">
295  <h2>Parse Errors</h2>  <h2>Parse Errors</h2>
296    
297  <dl>];  <dl id="$input->{id_prefix}parse-errors-list">];
298    push @nav, ['#parse-errors' => 'Parse Error'] unless $input->{nested};    push @nav, ['#parse-errors' => 'Parse Error'] unless $input->{nested};
299    
300    my $onerror = sub {    my $onerror = sub {
# Line 346  sub print_syntax_error_xml_section ($$) Line 348  sub print_syntax_error_xml_section ($$)
348  <div id="$input->{id_prefix}parse-errors" class="section">  <div id="$input->{id_prefix}parse-errors" class="section">
349  <h2>Parse Errors</h2>  <h2>Parse Errors</h2>
350    
351  <dl>];  <dl id="$input->{id_prefix}parse-errors-list">];
352    push @nav, ['#parse-errors' => 'Parse Error'] unless $input->{prefix};    push @nav, ['#parse-errors' => 'Parse Error'] unless $input->{prefix};
353    
354    my $onerror = sub {    my $onerror = sub {
# Line 557  sub print_syntax_error_css_section ($$) Line 559  sub print_syntax_error_css_section ($$)
559  <div id="$input->{id_prefix}parse-errors" class="section">  <div id="$input->{id_prefix}parse-errors" class="section">
560  <h2>Parse Errors</h2>  <h2>Parse Errors</h2>
561    
562  <dl>];  <dl id="$input->{id_prefix}parse-errors-list">];
563    push @nav, ['#parse-errors' => 'Parse Error'] unless $input->{nested};    push @nav, ['#parse-errors' => 'Parse Error'] unless $input->{nested};
564    
565    my $p = get_css_parser ();    my $p = get_css_parser ();
# Line 623  sub print_syntax_error_manifest_section Line 625  sub print_syntax_error_manifest_section
625  <div id="$input->{id_prefix}parse-errors" class="section">  <div id="$input->{id_prefix}parse-errors" class="section">
626  <h2>Parse Errors</h2>  <h2>Parse Errors</h2>
627    
628  <dl>];  <dl id="$input->{id_prefix}parse-errors-list">];
629    push @nav, ['#parse-errors' => 'Parse Error'] unless $input->{nested};    push @nav, ['#parse-errors' => 'Parse Error'] unless $input->{nested};
630    
631    my $onerror = sub {    my $onerror = sub {
# Line 681  sub print_source_string_section ($$$) { Line 683  sub print_source_string_section ($$$) {
683    } else {    } else {
684      print STDOUT q[<li id="$input->{id_prefix}line-1"></li>];      print STDOUT q[<li id="$input->{id_prefix}line-1"></li>];
685    }    }
686    print STDOUT "</ol></div>";    print STDOUT "</ol></div>
687    <script> addSourceToParseErrorList ('$input->{id_prefix}'); </script>";
688  } # print_input_string_section  } # print_input_string_section
689    
690  sub print_document_tree ($$) {  sub print_document_tree ($$) {

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24