Changeset 95


Ignore:
Timestamp:
Apr 8, 2008, 10:02:26 PM (11 years ago)
Author:
cameron
Message:

Validation stream sentinel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bitlex.c

    r91 r95  
    2525        x8basis = (BitBlockBasis *) simd_new(BUFFER_SIZE/PACKSIZE);
    2626        validation_stream = (BitBlock *) simd_new(BUFFER_BLOCKS+SENTINEL_BLOCKS);
     27        validation_stream[BUFFER_BLOCKS] = simd_const_1(1);
    2728};
    2829
     
    884885        if (model_info->version == XML_1_1) Do_XML_11_WS_Control();
    885886        else Do_XML_10_WS_Control();
    886         err_pos = bitstream_scan0(validation_stream);
     887#ifdef DEBUG
     888        printf("Do_WS_Control() complete.\n");
     889#endif
     890        err_pos = bitstream_scan0(validation_stream);
    887891        if (err_pos < buffer_units) {
    888892                printf("Illegal control character in XML input stream at position %i\n",
     
    897901#endif
    898902        Do_MarkupStreams();
     903#ifdef DEBUG
     904        printf("Do_MarkupStreams() complete.\n");
     905#endif
    899906#ifdef CODE_CLOCKING
    900907        end_Interval(MarkupStreams_clocker, BUFFER_SIZE);
Note: See TracChangeset for help on using the changeset viewer.