Spirit: Chset base uint32_t

Hello List,
I am trying to define the Char definition in the XML specification and I
receive this compiler error: hex escape sequence out of range
Here is the relvent code:
const static boost::spirit::chset

AMDG Etienne Philip Pretorius wrote:
Hello List,
I am trying to define the Char definition in the XML specification and I receive this compiler error: hex escape sequence out of range
Here is the relvent code:
const static boost::spirit::chset
Char( "\x9\xA\xD\x20-\xD7FF\xE000-\xFFFD\x10000-\x10FFFF" ); Can someone please point me in the right direction to get this working.
Does
uint32_t values[] = { 0x9, 0xA, 0xD, 0x20, '-', 0xD7FF, 0xE000, '-',
0xFFFD, 0x10000, '-', 0x10FFFF, 0 };
const static boost::spirit::chset
participants (2)
-
Etienne Philip Pretorius
-
Steven Watanabe