CLI2: ::lexArguments auto-quotes orignally quoted args, but didn't dequote after

This commit is contained in:
Paul Beckingham 2015-07-11 13:47:26 -04:00
parent 366faac430
commit 6d9d896a37

View file

@ -441,6 +441,7 @@ void CLI2::lexArguments ()
std::string word;
if (Lexer::readWord ("'" + _original_args[i] + "'", "'", cursor, word))
{
Lexer::dequote (word);
A2 unknown (word, Lexer::Type::word);
if (lex.wasQuoted (_original_args[i]))
unknown.tag ("QUOTED");