Added support for constraints in AIGER (bug fix).

This commit is contained in:
Alan Mishchenko 2011-07-20 13:45:30 +07:00
parent 4ca6612821
commit 3ab9683d26
1 changed files with 5 additions and 0 deletions

View File

@ -799,7 +799,12 @@ Gia_Man_t * Gia_ReadAigerFromMemory( char * pContents, int nFileSize, int fCheck
{
// get the terminal type
if ( *pCur == 'i' || *pCur == 'l' )
{
// skip till the end of the line
while ( *pCur++ != '\n' );
*(pCur-1) = 0;
continue;
}
if ( *pCur != 'o' )
{
fprintf( stdout, "Wrong terminal type.\n" );