Enhancements - Config

- Added processing for context.config overrides, and associated
  argc,argv handling.
- Bug fix in filt.t.cpp, but three tests still fail.  Too big a
  distraction to fix right now.
- Warning: build is not broken, but task is broken.
This commit is contained in:
Paul Beckingham
2009-06-07 14:58:32 -04:00
parent 24f31eeb00
commit 190c6b53fc
7 changed files with 211 additions and 210 deletions

View File

@@ -85,6 +85,8 @@ Config::Config (const std::string& file)
// not tolerated, but blank lines and comments starting with # are allowed.
bool Config::load (const std::string& file)
{
this->clear ();
std::ifstream in;
in.open (file.c_str (), std::ifstream::in);
if (in.good ())