Ignore:
Timestamp:
Dec 21, 2017, 4:57:36 PM (17 months ago)
Author:
cameron
Message:

Alphabet fixes

Location:
icGREP/icgrep-devel/icgrep/cc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/alphabet.cpp

    r5795 r5796  
    3535    Alphabet(alphabetName), mCodeUnitBits(bits) {}
    3636
     37const UnicodeMappableAlphabet Unicode("Unicode", UCD::UNICODE_MAX, {});
     38
     39const UnicodeMappableAlphabet ASCII("ASCII", 0x7F, {});
     40
     41const UnicodeMappableAlphabet ISO_Latin1("ISO_Latin1", 0xFF, {});
     42
     43const CodeUnitAlphabet Byte("Byte", 8);
     44
    3745}
  • icGREP/icgrep-devel/icgrep/cc/alphabet.h

    r5795 r5796  
    6464//  Some important alphabets are predefined.
    6565
    66 const static UnicodeMappableAlphabet Unicode("Unicode", UCD::UNICODE_MAX, {});
     66const extern UnicodeMappableAlphabet Unicode;
    6767
    68 const static UnicodeMappableAlphabet ASCII("ASCII", 0x7F, {});
     68const extern UnicodeMappableAlphabet ASCII;
    6969
    70 const static UnicodeMappableAlphabet ISO_Latin1("ISO_Latin1", 0xFF, {});
     70const extern UnicodeMappableAlphabet ISO_Latin1;
    7171
    72 const static CodeUnitAlphabet Byte("Byte", 8);
     72const extern CodeUnitAlphabet Byte;
    7373
    7474}
Note: See TracChangeset for help on using the changeset viewer.