CLI2: ::desugarFilterPlainArgs now needs to look for Lexer::Type::identifier

This commit is contained in:
Paul Beckingham 2015-07-27 02:18:36 -04:00
parent cd1bd1eec9
commit 9c8edc4121

View file

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