mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
Process .idl files before source files
svn path=/trunk/; revision=26435
This commit is contained in:
parent
0186ef646d
commit
c3111bb5ce
|
@ -583,7 +583,13 @@ Module::ProcessXMLSubElement ( const XMLElement& e,
|
||||||
if ( parseContext.ifData )
|
if ( parseContext.ifData )
|
||||||
parseContext.ifData->data.compilationUnits.push_back ( pCompilationUnit );
|
parseContext.ifData->data.compilationUnits.push_back ( pCompilationUnit );
|
||||||
else
|
else
|
||||||
non_if_data.compilationUnits.push_back ( pCompilationUnit );
|
{
|
||||||
|
string ext = GetExtension ( e.value );
|
||||||
|
if ( !stricmp ( ext.c_str(), ".idl" ) )
|
||||||
|
non_if_data.compilationUnits.insert ( non_if_data.compilationUnits.begin(), pCompilationUnit );
|
||||||
|
else
|
||||||
|
non_if_data.compilationUnits.push_back ( pCompilationUnit );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ( parseContext.ifData )
|
if ( parseContext.ifData )
|
||||||
parseContext.ifData->data.files.push_back ( pFile );
|
parseContext.ifData->data.files.push_back ( pFile );
|
||||||
|
|
Loading…
Reference in a new issue