Boost spirit take away keyword and ignore skipper
问题 This is a small part of a grammer using expressions. prefix = (lit(L"not") >> prefix) |(lit('-') >> prefix) | postfix ; Some way inside postfix I have name_pure to take an identifier .. name_pure = lexeme[+(boost::spirit::standard_wide::alpha | '_') >> *(boost::spirit::standard_wide::alnum | '_')]; So far all is fine. Can write something like a=not b But if I start to use not as a name prefix like this one a=not notvarname I get a parser Output from the AST which look like this a=not not