Changeset 128 for trunk/src/bitlex.c


Ignore:
Timestamp:
May 3, 2008, 8:05:57 AM (11 years ago)
Author:
cameron
Message:

Set lexer_base_pos for error reporting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bitlex.c

    r120 r128  
    860860
    861861
    862 void Lexer_Interface::AnalyzeBuffer(BitBlockBasis * basis, int buffer_limit_pos) {
     862void Lexer_Interface::AnalyzeBuffer(BitBlockBasis * basis, int base_pos, int buffer_limit_pos) {
    863863#ifdef DEBUG
    864864        printf("Entered AnalyzeBuffer, buffer_limit_pos = %i\n", buffer_limit_pos);
    865865#endif
    866866        x8basis = basis;
     867        lexer_base_pos = base_pos; /* for error reporting. */
    867868        int err_pos;
    868869#ifdef CODE_CLOCKING
Note: See TracChangeset for help on using the changeset viewer.