CLI2: Fixed bug where only the first lexeme was used
- For quoted Lexer::Type::pair arguments, use the whole quoted arg, not merely the first lexeme.
This commit is contained in:
@@ -427,7 +427,7 @@ void CLI2::lexArguments ()
|
||||
else if (terminated)
|
||||
type = Lexer::Type::word;
|
||||
|
||||
A2 a (lexeme, type);
|
||||
A2 a (_original_args[i], type);
|
||||
if (terminated)
|
||||
a.tag ("TERMINATED");
|
||||
if (quoted)
|
||||
|
||||
Reference in New Issue
Block a user