- Integrated new Alias object into new command line processing.
This commit is contained in:
Paul Beckingham 2014-04-19 08:22:27 -04:00
parent 93e28c1707
commit a353cbaf91
3 changed files with 7 additions and 2 deletions

View file

@ -153,6 +153,8 @@ int Context::initialize (int argc, const char** argv)
loadAliases ();
a3.resolve_aliases ();
a3t.findAliases ();
aliases2.load ();
aliases2.resolve (a3t.tree ());
// Initialize the color rules, if necessary.
if (color ())
@ -219,8 +221,8 @@ int Context::initialize (int argc, const char** argv)
// TODO Uncommenting this breaks unit tests because of the errors it
// generates.
Tree* parseTree = NULL;
//Tree* parseTree = a3t.parse ();
//Tree* parseTree = NULL;
Tree* parseTree = a3t.parse ();
// Initialize the command line parser.
if (parseTree && config.getBoolean ("debug"))