mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI2: ::lexArguments auto-quotes orignally quoted args, but didn't dequote after
This commit is contained in:
parent
366faac430
commit
6d9d896a37
1 changed files with 1 additions and 0 deletions
|
@ -441,6 +441,7 @@ void CLI2::lexArguments ()
|
||||||
std::string word;
|
std::string word;
|
||||||
if (Lexer::readWord ("'" + _original_args[i] + "'", "'", cursor, word))
|
if (Lexer::readWord ("'" + _original_args[i] + "'", "'", cursor, word))
|
||||||
{
|
{
|
||||||
|
Lexer::dequote (word);
|
||||||
A2 unknown (word, Lexer::Type::word);
|
A2 unknown (word, Lexer::Type::word);
|
||||||
if (lex.wasQuoted (_original_args[i]))
|
if (lex.wasQuoted (_original_args[i]))
|
||||||
unknown.tag ("QUOTED");
|
unknown.tag ("QUOTED");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue