diff options
Diffstat (limited to 'zenXml/zenxml/parser.h')
-rw-r--r-- | zenXml/zenxml/parser.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/zenXml/zenxml/parser.h b/zenXml/zenxml/parser.h index 7ec2433b..a4800ab3 100644 --- a/zenXml/zenxml/parser.h +++ b/zenXml/zenxml/parser.h @@ -423,15 +423,15 @@ private: using TokenList = std::vector<std::pair<std::string, Token::Type>>; const TokenList tokens_ { - { "<?xml", Token::TK_DECL_BEGIN }, - { "?>", Token::TK_DECL_END }, - { "</", Token::TK_LESS_SLASH }, - { "/>", Token::TK_SLASH_GREATER }, - { "<", Token::TK_LESS }, //evaluate after TK_DECL_BEGIN! - { ">", Token::TK_GREATER }, - { "=", Token::TK_EQUAL }, - { "\"", Token::TK_QUOTE }, - { "\'", Token::TK_QUOTE }, + {"<?xml", Token::TK_DECL_BEGIN }, + {"?>", Token::TK_DECL_END }, + {"</", Token::TK_LESS_SLASH }, + {"/>", Token::TK_SLASH_GREATER}, + {"<", Token::TK_LESS }, //evaluate after TK_DECL_BEGIN! + {">", Token::TK_GREATER }, + {"=", Token::TK_EQUAL }, + {"\"", Token::TK_QUOTE }, + {"\'", Token::TK_QUOTE }, }; const std::string xmlCommentBegin_ = "<!--"; |