Boost logo

Boost Users :

Subject: [Boost-users] Spirit: Chset base uint32_t
From: Etienne Philip Pretorius (icewolfhunter_at_[hidden])
Date: 2009-06-11 12:55:30


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<uint32_t> Char(
         "\x9\xA\xD\x20-\xD7FF\xE000-\xFFFD\x10000-\x10FFFF"
);

Can someone please point me in the right direction to get this working.

Thank you,

Etienne Pretorius


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net