mirror of
https://github.com/yquake2/extractfunctions.git
synced 2024-11-10 06:31:50 +00:00
Fix struct extraction on unix
This commit is contained in:
parent
0226514ad0
commit
002108ace6
1 changed files with 6 additions and 1 deletions
|
@ -512,6 +512,8 @@ void GetTypeNamesFromFile (char *filename, char *typeName)
|
||||||
int isExtern = 0;
|
int isExtern = 0;
|
||||||
tokenList_t *listHead;
|
tokenList_t *listHead;
|
||||||
|
|
||||||
|
printf("BANANE!\n");
|
||||||
|
|
||||||
listHead = NULL;
|
listHead = NULL;
|
||||||
source = LoadSourceFile( filename );
|
source = LoadSourceFile( filename );
|
||||||
if ( !source ) {
|
if ( !source ) {
|
||||||
|
@ -824,6 +826,9 @@ int main (int argc, char *argv[])
|
||||||
for ( i = argbase; i < firstParm; i++ )
|
for ( i = argbase; i < firstParm; i++ )
|
||||||
{
|
{
|
||||||
printf( "%d: %s\n", i, argv[i] );
|
printf( "%d: %s\n", i, argv[i] );
|
||||||
|
if (typeExtract)
|
||||||
|
GetTypeNamesFromFile (argv[i], typeName);
|
||||||
|
else
|
||||||
GetFunctionNamesFromFile (argv[i]);
|
GetFunctionNamesFromFile (argv[i]);
|
||||||
}
|
}
|
||||||
if (typeExtract)
|
if (typeExtract)
|
||||||
|
|
Loading…
Reference in a new issue