If I'm reading docs correctly \uNNNN + \UNNNNNNNN are correct

Revert "relax hex4 parser to allow 5 character \unnnnn code points"

This reverts commit 378fa41db6.
This commit is contained in:
artemp 2017-03-01 12:08:22 +01:00
parent 2d2c5a191b
commit d29be8a689

View file

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