CLI2: Some plain args were not spotted

- A plain arg can be Lexer::Type::word or Lexer::Type::dom.
This commit is contained in:
Paul Beckingham 2015-07-16 16:07:41 -04:00
parent 10f684c09b
commit 6aaa7c5074

View file

@ -1647,7 +1647,8 @@ void CLI2::desugarFilterPlainArgs ()
ppraw == "or" ||
ppraw == "xor") &&
prev->_lextype == Lexer::Type::word && // candidate
(prev->_lextype == Lexer::Type::dom || // candidate
prev->_lextype == Lexer::Type::word) && // candidate
prev->hasTag ("FILTER") && // candidate