mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancement - Sequence integration
- Sequence object fully integrated.
This commit is contained in:
parent
7965bd5b4f
commit
9b78631e6f
6 changed files with 44 additions and 30 deletions
|
@ -259,25 +259,15 @@ void Context::parse ()
|
|||
|
||||
// Sequence
|
||||
// Note: "add" doesn't require an ID
|
||||
else if (command != "add" &&
|
||||
validSequence (*arg, sequence) &&
|
||||
else if (command != "add" &&
|
||||
sequence.valid (*arg) &&
|
||||
! foundSomethingAfterSequence)
|
||||
{
|
||||
std::cout << "# found sequence" << std::endl;
|
||||
sequence.parse (*arg);
|
||||
foundSequence = true;
|
||||
}
|
||||
|
||||
/*
|
||||
else if (lowerCase (command) != "add" && // "add" doesn't require an ID
|
||||
validSequence (arg, sequence) &&
|
||||
! foundSomethingAfterSequence)
|
||||
{
|
||||
foundSequence = true;
|
||||
foreach (id, sequence)
|
||||
task.addId (*id);
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
// Tags begin with + or - and contain arbitrary text.
|
||||
else if (validTag (arg))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue