Enhancement - Sequence integration

- Sequence object fully integrated.
This commit is contained in:
Paul Beckingham 2009-06-06 23:55:36 -04:00
parent 7965bd5b4f
commit 9b78631e6f
6 changed files with 44 additions and 30 deletions

View file

@ -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))