+ allow empty strings in expressions e.g [name] <> ''

This commit is contained in:
Artem Pavlenko 2010-06-22 13:06:55 +00:00
parent 392ae66941
commit 8c8f303429

View file

@ -213,7 +213,7 @@ struct expression_grammar : qi::grammar<Iterator, expr_node(), space_type>
;
attr %= '[' >> +(char_ - ']') >> ']';
ustring %= '\'' >> no_skip[+~char_('\'')] >> '\'';
ustring %= '\'' >> no_skip[*~char_('\'')] >> '\'';
}
qi::real_parser<double, qi::strict_real_policies<double> > strict_double;