mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 05:37:44 +00:00
Don't silently accept entrypoint=""
svn path=/trunk/; revision=27388
This commit is contained in:
parent
c0ed3a362f
commit
2e3fcb5dd9
|
@ -339,6 +339,14 @@ Module::Module ( const Project& project,
|
||||||
att = moduleNode.GetAttribute ( "entrypoint", false );
|
att = moduleNode.GetAttribute ( "entrypoint", false );
|
||||||
if ( att != NULL )
|
if ( att != NULL )
|
||||||
{
|
{
|
||||||
|
if ( att->value == "" )
|
||||||
|
{
|
||||||
|
throw InvalidAttributeValueException (
|
||||||
|
moduleNode.location,
|
||||||
|
"entrypoint",
|
||||||
|
att->value );
|
||||||
|
}
|
||||||
|
|
||||||
entrypoint = att->value;
|
entrypoint = att->value;
|
||||||
isDefaultEntryPoint = false;
|
isDefaultEntryPoint = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue