Changeset 98 for trunk/src/bytelex.h


Ignore:
Timestamp:
Apr 13, 2008, 8:18:17 PM (11 years ago)
Author:
cameron
Message:

Separate CharRef/EntityRef? routines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bytelex.h

    r97 r98  
    8686
    8787template<CodeUnit_Base C>
     88inline bool at_CharRef_Start(unsigned char x8data[]) {
     89  return s2int16(x8data) == c2int16<C, '&', '#'>::value;
     90}
     91
     92
     93template<CodeUnit_Base C>
    8894inline bool at_EqualsQuote(unsigned char x8data[]) {
    8995  uint16_t EQ = s2int16(x8data);
Note: See TracChangeset for help on using the changeset viewer.