mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
A3t
- Cleaned up ::validate, added notes for further validation. - Removed obsolete comments.
This commit is contained in:
parent
e05610d1d7
commit
0771ee2399
2 changed files with 4 additions and 7 deletions
|
@ -978,12 +978,12 @@ void A3t::validate ()
|
|||
std::vector <Tree*>::iterator i;
|
||||
for (i = _tree->_branches.begin (); i != _tree->_branches.end (); ++i)
|
||||
if ((*i)->hasTag ("?"))
|
||||
// TODO Restore the exception, when functionality is high enough to
|
||||
// tolerate it.
|
||||
//throw std::string ("Unrecognized argument '") + (*i)->attribute ("raw") + "'";
|
||||
std::cout << "Unrecognized argument '" << (*i)->attribute ("raw") << "'\n";
|
||||
//std::cout << "Unrecognized argument '" << (*i)->attribute ("raw") << "'\n";
|
||||
context.debug ("Unrecognized argument '" + (*i)->attribute ("raw") + "'");
|
||||
|
||||
// TODO Any RC node must have a root/*[+RC]/data[@file] that exists.
|
||||
// TODO Any RC node must have a root/+RC @file that exists.
|
||||
// TODO There must be a root/+CMD.
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -68,15 +68,12 @@ private:
|
|||
void findModifications ();
|
||||
void validate ();
|
||||
|
||||
// TODO Resolve aliases
|
||||
// TODO Inject defaults
|
||||
// TODO Extract filter
|
||||
// TODO Extract words
|
||||
// TODO Extract modifications
|
||||
// TODO Prepare infix
|
||||
// TODO Expand operators
|
||||
// TODO Expand sequence
|
||||
// TODO Convert to postfix - not necessary given parse tree?
|
||||
|
||||
private:
|
||||
Tree* _tree;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue