- Added builtin command detection

- Now allows override of due/overdue coloration
This commit is contained in:
Paul Beckingham
2008-12-14 11:09:15 -05:00
parent 14d3abacf4
commit 50ccb67185
2 changed files with 45 additions and 20 deletions

View File

@@ -348,6 +348,18 @@ static bool validCommand (std::string& input)
return true;
}
////////////////////////////////////////////////////////////////////////////////
static bool validBuiltinCommand (std::string& input)
{
std::string copy = input;
guess ("command", commands, copy);
if (copy == "")
return false;
input = copy;
return true;
}
////////////////////////////////////////////////////////////////////////////////
static bool validSubstitution (
std::string& input,