CmdBurndown

- Converted from A3 to A3t.
This commit is contained in:
Paul Beckingham 2014-04-26 12:03:28 -07:00
parent 1f8763829d
commit d70df55c2d

View file

@ -206,21 +206,19 @@ Chart::Chart (char type)
// Set the title. // Set the title.
_title = "("; _title = "(";
std::vector <Arg>::const_iterator arg; std::vector <Tree*>::iterator i;
for (arg = context.a3.begin (); arg != context.a3.end (); ++arg) for (i = context.a3t.tree ()->_branches.begin (); i != context.a3t.tree ()->_branches.end (); ++i)
{ {
if (arg->_category == Arg::cat_program || if (! (*i)->hasTag ("BINARY") &&
arg->_category == Arg::cat_rc || ! (*i)->hasTag ("RC") &&
arg->_category == Arg::cat_override || ! (*i)->hasTag ("CONFIG") &&
arg->_category == Arg::cat_command || ! (*i)->hasTag ("CMD") &&
arg->_category == Arg::cat_terminator) ! (*i)->hasTag ("TERMINATOR"))
;
else
{ {
if (_title.length () > 1) if (_title.length () > 1)
_title += " "; _title += " ";
_title += arg->_raw; _title += (*i)->attribute ("raw");
} }
} }
_title += ")"; _title += ")";