CLI
- Raised the lexeme count threshold to 3 to consider lexing an argument. This accomodates binary operators.
This commit is contained in:
@@ -629,7 +629,7 @@ void CLI::addArg (const std::string& arg)
|
|||||||
foundOP = true;
|
foundOP = true;
|
||||||
|
|
||||||
// This one looks interesting.
|
// This one looks interesting.
|
||||||
if (lexemes.size () > 1 &&
|
if (lexemes.size () > 2 &&
|
||||||
foundOP)
|
foundOP)
|
||||||
{
|
{
|
||||||
for (l = lexemes.begin (); l != lexemes.end (); ++l)
|
for (l = lexemes.begin (); l != lexemes.end (); ++l)
|
||||||
|
|||||||
Reference in New Issue
Block a user