Changeset 597 for proto/parabix2


Ignore:
Timestamp:
Sep 1, 2010, 12:14:40 PM (9 years ago)
Author:
cameron
Message:

Update buffer position after advancing past XML declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/template.c

    r596 r597  
    359359  if (e->content_start != 0) {
    360360        memmove(&srcbuf[0], &srcbuf[e->content_start], chars_read - e->content_start);
     361        buf_pos = e->content_start;
    361362        if (chars_avail == BUFFER_SIZE) {
    362363                chars_read = chars_read - e->content_start +
Note: See TracChangeset for help on using the changeset viewer.