mirror of https://github.com/YosysHQ/abc.git
completely silence the "source" command when the -s option is given
This commit is contained in:
parent
9d652062b7
commit
ef0fbf0372
|
|
@ -454,7 +454,7 @@ FILE * CmdFileOpen( Abc_Frame_t * pAbc, char *sFileName, char *sMode, char **pFi
|
|||
else
|
||||
{
|
||||
// print the path/name of the resource file 'abc.rc' that is being loaded
|
||||
if ( strlen(sRealName) >= 6 && strcmp( sRealName + strlen(sRealName) - 6, "abc.rc" ) == 0 )
|
||||
if ( !silent && strlen(sRealName) >= 6 && strcmp( sRealName + strlen(sRealName) - 6, "abc.rc" ) == 0 )
|
||||
printf( "Loading resource file \"%s\".\n", sRealName );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue