relax hex4 parser to allow 5 character \unnnnn code points

This commit is contained in:
artemp 2017-03-01 11:53:27 +01:00
parent 571b2a0d6a
commit 378fa41db6

View file

@ -85,7 +85,7 @@ using x3::eol;
using x3::no_skip;
x3::uint_parser<char, 16, 2, 2> const hex2 {};
x3::uint_parser<uchar, 16, 4, 4> const hex4 {};
x3::uint_parser<uchar, 16, 4, 5> const hex4 {};
x3::uint_parser<uchar, 16, 8, 8> const hex8 {};
// start rule