make hex rules const

This commit is contained in:
artemp 2016-11-25 16:44:20 +01:00
parent 23ba18ead2
commit cad029bf7c

View file

@ -83,8 +83,8 @@ using x3::hex;
using x3::eol;
using x3::no_skip;
x3::uint_parser<uchar, 16, 4, 4> hex4;
x3::uint_parser<uchar, 16, 8, 8> hex8;
x3::uint_parser<uchar, 16, 4, 4> const hex4;
x3::uint_parser<uchar, 16, 8, 8> const hex8;
// start rule
unicode_string_grammar_type const unicode_string("Unicode String");