+ allow empty strings in expressions e.g [name] <> ''
This commit is contained in:
parent
392ae66941
commit
8c8f303429
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ struct expression_grammar : qi::grammar<Iterator, expr_node(), space_type>
|
||||||
;
|
;
|
||||||
|
|
||||||
attr %= '[' >> +(char_ - ']') >> ']';
|
attr %= '[' >> +(char_ - ']') >> ']';
|
||||||
ustring %= '\'' >> no_skip[+~char_('\'')] >> '\'';
|
ustring %= '\'' >> no_skip[*~char_('\'')] >> '\'';
|
||||||
}
|
}
|
||||||
|
|
||||||
qi::real_parser<double, qi::strict_real_policies<double> > strict_double;
|
qi::real_parser<double, qi::strict_real_policies<double> > strict_double;
|
||||||
|
|
Loading…
Add table
Reference in a new issue