Ignore:
Timestamp:
Feb 11, 2013, 1:48:29 PM (7 years ago)
Author:
lindanl
Message:

Add Comment Parsing. Compiler for nested while loop needs to be fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/PDF/cb_template.cpp

    r2903 r2905  
    302302    for (int i = 0; i < BLOCKS-1; i++){
    303303      parse_Escaped.do_block(lex[i], parity, escape_Callouts, out_Callouts, lex[i+1]);
     304      parse_Comment.do_block(lex[i], escape_Callouts, marker, out_Callouts);
    304305      parse_HexStrings.do_block(lex[i], marker, out_Callouts);
    305306      parse_Names.do_block(lex[i], marker, out_Callouts, lex[i+1]);
     
    313314    EOF_mask = bitblock::srl(simd<1>::constant<1>(), convert(BLOCK_SIZE-chars_avail));
    314315    parse_Escaped.do_final_block(lex[BLOCKS-1], parity, escape_Callouts, out_Callouts, EOF_mask);
     316    parse_Comment.do_final_block(lex[BLOCKS-1], escape_Callouts, marker, out_Callouts, EOF_mask);
    315317    parse_HexStrings.do_final_block(lex[BLOCKS-1], marker, out_Callouts, EOF_mask);
    316318    parse_Names.do_final_block(lex[BLOCKS-1], marker, out_Callouts, EOF_mask);
     
    321323    Postprocessing(&srcbuf[(BLOCKS-1)*BLOCK_SIZE], marker);
    322324
    323    
     325//     print_register("out_Callouts.comment",out_Callouts.comment);
     326   
    324327//     for(int i=0;i<num_idx;i++)
    325328//       printf("%i,%i\n",numbers[i],dec_pl[i]);
Note: See TracChangeset for help on using the changeset viewer.