Changeset 115 for trunk/src/bytelex.h


Ignore:
Timestamp:
Apr 28, 2008, 4:46:06 PM (11 years ago)
Author:
lindanl
Message:

various error checks in parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bytelex.h

    r98 r115  
    366366        return s3int32(x8data) == c3int32<C, '<', '!', '['>::value;
    367367}
    368 
     368template<CodeUnit_Base C>
     369inline bool at_xml(unsigned char x8data[]) {
     370  return (s4int32(x8data) == c4int32<C, '?', 'x', 'm', 'l'>::value);
     371}
    369372#endif
Note: See TracChangeset for help on using the changeset viewer.