Ignore:
Timestamp:
Dec 13, 2011, 8:22:57 PM (8 years ago)
Author:
vla24
Message:

Fixed hash, ls, stl parser, edge boundary handler was broken

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/SymbolTable/symtab_ls_template.cpp

    r1721 r1777  
    242242      if (chars_avail > BUFFER_SIZE) chars_avail = BUFFER_SIZE;
    243243      buf_pos += chars_avail;
     244      if (!elem_starts_buf.size() == elem_ends_buf.size())
     245      {
     246          int start = elem_starts_buf.front();
     247          start = (start - buffer_base) - BUFFER_SIZE + buf_pos;
     248          elem_starts_buf.pop();
     249          elem_starts_buf.push(start);
     250      }
    244251      buffer_base = buf_pos;
    245252    }
Note: See TracChangeset for help on using the changeset viewer.