Parser
- Renamed A3t to Parser.
This commit is contained in:
@@ -46,7 +46,7 @@ int CmdUndo::execute (std::string& output)
|
||||
{
|
||||
// Detect attempts to modify the task.
|
||||
std::vector <Tree*>::iterator i;
|
||||
for (i = context.a3t.tree ()->_branches.begin (); i != context.a3t.tree ()->_branches.end (); ++i)
|
||||
for (i = context.parser.tree ()->_branches.begin (); i != context.parser.tree ()->_branches.end (); ++i)
|
||||
if ((*i)->hasTag ("MODIFICATION"))
|
||||
throw std::string (STRING_CMD_UNDO_MODS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user