mirror of https://github.com/YosysHQ/abc.git
Add fix to Liberty parser to skip extra semicolon.
This commit is contained in:
parent
cc0954e022
commit
9894fc762e
|
|
@ -457,6 +457,11 @@ int Scl_LibertyBuildItem( Scl_Tree_t * p, char ** ppPos, char * pEnd )
|
|||
goto exit;
|
||||
return Scl_LibertyItemId( p, pItem );
|
||||
}
|
||||
if ( *pNext == ';' )
|
||||
{
|
||||
*ppPos = pNext + 1;
|
||||
return Scl_LibertyBuildItem(p, ppPos, pEnd);
|
||||
}
|
||||
exit:
|
||||
if ( p->pError == NULL )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue