mirror of
https://github.com/reactos/reactos.git
synced 2024-07-08 21:55:08 +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 );
|
||||
if ( att != NULL )
|
||||
{
|
||||
if ( att->value == "" )
|
||||
{
|
||||
throw InvalidAttributeValueException (
|
||||
moduleNode.location,
|
||||
"entrypoint",
|
||||
att->value );
|
||||
}
|
||||
|
||||
entrypoint = att->value;
|
||||
isDefaultEntryPoint = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue