Changeset 16 for trunk/src/engine.c


Ignore:
Timestamp:
Jan 11, 2008, 6:41:54 AM (12 years ago)
Author:
cameron
Message:

Bytespace quote scanning in encoding declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.c

    r15 r16  
    639639      if (AtChar('"')) {
    640640        Advance(1);
    641         ScanTo(DQuote);
     641        ASCII_ScanTo(DQuote);
    642642        if (!AtChar('"')) {Error_action(decl_start, AbsPos()); return;}
    643643      }
    644644      else if (AtChar('\'')) {
    645645        Advance(1);
    646         ScanTo(SQuote);
     646        ASCII_ScanTo(SQuote);
    647647        if (!AtChar('\'')) {Error_action(decl_start, AbsPos()); return;}
    648648      }
     
    713713  if (AtChar('"')) {
    714714      Advance(1);
    715       ScanTo(DQuote);
     715      ASCII_ScanTo(DQuote);
    716716      if (!AtChar('"')) {Error_action(decl_start, AbsPos()); return;}
    717717  }
    718718  else if (AtChar('\'')) {
    719719      Advance(1);
    720       ScanTo(SQuote);
     720      ASCII_ScanTo(SQuote);
    721721      if (!AtChar('\'')) {Error_action(decl_start, AbsPos()); return;}
    722722  }
Note: See TracChangeset for help on using the changeset viewer.