add parentheses to supress gcc warning [-Wparentheses]
This commit is contained in:
parent
de2b44712a
commit
7db3beda01
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ x3::rule<class str_expression, std::string> const str_expression("string");
|
||||||
|
|
||||||
auto const attr_expression_def = +(char_ - ']');
|
auto const attr_expression_def = +(char_ - ']');
|
||||||
auto const str_expression_def = lexeme[+(char_ -'[')];
|
auto const str_expression_def = lexeme[+(char_ -'[')];
|
||||||
auto const path_expression_def = *(str_expression[create_string] | '[' > attr_expression[create_attribute] > ']');
|
auto const path_expression_def = *(str_expression[create_string] | ('[' > attr_expression[create_attribute] > ']'));
|
||||||
|
|
||||||
BOOST_SPIRIT_DEFINE(
|
BOOST_SPIRIT_DEFINE(
|
||||||
path_expression,
|
path_expression,
|
||||||
|
|
Loading…
Reference in a new issue