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_stl_template.cpp

    r1741 r1777  
    244244      if (chars_avail > BUFFER_SIZE) chars_avail = BUFFER_SIZE;
    245245      buf_pos += chars_avail;
     246      if (!elem_starts_buf.size() == elem_ends_buf.size())
     247      {
     248          int start = elem_starts_buf.front();
     249          start = (start - buffer_base) - BUFFER_SIZE + buf_pos;
     250          elem_starts_buf.pop();
     251          elem_starts_buf.push(start);
     252      }
    246253      buffer_base = buf_pos;
    247254    }
Note: See TracChangeset for help on using the changeset viewer.