mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-03 16:29:14 +02:00
Added command 'starter' to call ABC concurrently.
This commit is contained in:
@@ -452,14 +452,15 @@ FILE * CmdFileOpen( Abc_Frame_t * pAbc, char *sFileName, char *sMode, char **pFi
|
||||
|
||||
if ((pFile = fopen(sRealName, sMode)) == NULL) {
|
||||
if (! silent) {
|
||||
perror(sRealName);
|
||||
// perror(sRealName);
|
||||
Abc_Print( 1, "Cannot open file \"%s\".\n", sRealName );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// print the path/name of the resource file 'abc.rc' that is being loaded
|
||||
if ( !silent && strlen(sRealName) >= 6 && strcmp( sRealName + strlen(sRealName) - 6, "abc.rc" ) == 0 )
|
||||
printf( "Loading resource file \"%s\".\n", sRealName );
|
||||
Abc_Print( 1, "Loading resource file \"%s\".\n", sRealName );
|
||||
}
|
||||
}
|
||||
if ( pFileNameReal )
|
||||
|
||||
Reference in New Issue
Block a user