Changeset 119 for trunk/src/engine.c


Ignore:
Timestamp:
Apr 29, 2008, 6:35:59 AM (11 years ago)
Author:
cameron
Message:

Parse_PubidLiteral

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.c

    r115 r119  
    758758                Advance(1);
    759759        }       
    760         ScanTo(Quote);                 
    761         while (cur()[0] != quoteCh){
    762                 if(at_EOF())
    763                         Syntax_Error(NT_PubidLiteral);
    764                 Advance(1);
    765                 ScanTo(Quote);
     760        while (at_PubidChar<C>(cur())) Advance(1);
     761        if (cur()[0] != quoteCh){
     762                Syntax_Error(NT_PubidLiteral);
    766763        }
    767764        Advance(1);
Note: See TracChangeset for help on using the changeset viewer.