- Now tags ORIGINAL arguments that were quoted or escaped with QUOTED.
This commit is contained in:
Paul Beckingham 2014-06-27 19:06:35 -04:00
parent 9dd7acac0b
commit 46c9ddc91f

View file

@ -79,6 +79,10 @@ void Parser::initialize (int argc, const char** argv)
branch->tag ("ORIGINAL");
branch->tag ("?");
// If the argument contains a space, it was quoted. Remember that.
if (! noSpaces (raw))
branch->tag ("QUOTED");
std::vector <std::pair <std::string, Lexer::Type> > lexemes;
Lexer::token_split (lexemes, raw);