add 'location' information to a couple exceptions that should have it

fixed bug I introduced in MingwBackend::ProcessModule()
fixed bug in std::map usage, apparently map<const char*,...> is a bad idea
let make do some work, create variables to hold include list for each module

svn path=/branches/xmlbuildsystem/; revision=12901
This commit is contained in:
Royce Mitchell III 2005-01-09 03:29:46 +00:00
parent 10324ce772
commit 03e6c98e63
11 changed files with 82 additions and 50 deletions

View file

@ -422,7 +422,8 @@ XMLElement::GetAttribute ( const string& attribute,
}
if ( required )
{
throw RequiredAttributeNotFoundException ( attribute,
throw RequiredAttributeNotFoundException ( location,
attribute,
name );
}
return NULL;
@ -441,7 +442,8 @@ XMLElement::GetAttribute ( const string& attribute,
}
if ( required )
{
throw RequiredAttributeNotFoundException ( attribute,
throw RequiredAttributeNotFoundException ( location,
attribute,
name );
}
return NULL;