Changeset 97 for trunk/src/bytelex.h


Ignore:
Timestamp:
Apr 10, 2008, 3:35:13 PM (11 years ago)
Author:
lindanl
Message:

External Subset and error messages and global entity table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bytelex.h

    r78 r97  
    301301
    302302template<CodeUnit_Base C>
     303inline bool at_NDATA(unsigned char x8data[]) {
     304        return s5int64(x8data) == c5int64<C, 'N', 'D', 'A', 'T', 'A'>::value;
     305}
     306
     307template<CodeUnit_Base C>
    303308inline bool at_IDREFS(unsigned char x8data[]) {
    304309        return s6int64(x8data) == c6int64<C, 'I', 'D', 'R', 'E', 'F', 'S'>::value;
     
    341346}
    342347
     348template<CodeUnit_Base C>
     349inline bool at_INCLUDE(unsigned char x8data[]) {
     350        return s7int64(x8data) == c7int64<C, 'I', 'N', 'C', 'L', 'U', 'D', 'E'>::value;
     351}
     352
     353template<CodeUnit_Base C>
     354inline bool at_IGNORE(unsigned char x8data[]) {
     355        return s6int64(x8data) == c6int64<C, 'I', 'G', 'N', 'O', 'R', 'E'>::value;
     356}
     357
     358template<CodeUnit_Base C>
     359inline bool at_condSect_start(unsigned char x8data[]) {
     360        return s3int32(x8data) == c3int32<C, '<', '!', '['>::value;
     361}
     362
    343363#endif
Note: See TracChangeset for help on using the changeset viewer.