Ignore:
Timestamp:
Aug 22, 2015, 12:37:38 PM (4 years ago)
Author:
cameron
Message:

Handle arbitrary enumerated properties without special casing; improve error reporting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/resolve_properties.h

    r4673 r4737  
    1111namespace UCD {
    1212
     13class UnicodePropertyExpressionError : public std::exception {
     14public:
     15    UnicodePropertyExpressionError(const std::string && msg) noexcept : _msg(msg) {}
     16    const char* what() const noexcept { return _msg.c_str();}
     17private:
     18    inline UnicodePropertyExpressionError() noexcept {}
     19    const std::string _msg;
     20};
    1321re::Name * resolveProperty(const std::string value, re::RE_Parser * parser);
    1422re::Name * resolveProperty(const std::string prop, const std::string value, re::RE_Parser * parser);
Note: See TracChangeset for help on using the changeset viewer.