fixed bug 791

svn path=/trunk/; revision=19263
This commit is contained in:
Christoph von Wittich 2005-11-16 13:24:13 +00:00
parent 93b46a1a8a
commit d47a998576

View file

@ -227,6 +227,9 @@ Project::ReadXml ()
} }
} }
if (node == NULL)
node = head->subElements[0];
throw InvalidBuildFileException ( throw InvalidBuildFileException (
node->location, node->location,
"Document contains no 'project' tag." ); "Document contains no 'project' tag." );