Commit 9894fc76 by Alan Mishchenko

Add fix to Liberty parser to skip extra semicolon.

parent cc0954e0
...@@ -457,6 +457,11 @@ int Scl_LibertyBuildItem( Scl_Tree_t * p, char ** ppPos, char * pEnd ) ...@@ -457,6 +457,11 @@ int Scl_LibertyBuildItem( Scl_Tree_t * p, char ** ppPos, char * pEnd )
goto exit; goto exit;
return Scl_LibertyItemId( p, pItem ); return Scl_LibertyItemId( p, pItem );
} }
if ( *pNext == ';' )
{
*ppPos = pNext + 1;
return Scl_LibertyBuildItem(p, ppPos, pEnd);
}
exit: exit:
if ( p->pError == NULL ) if ( p->pError == NULL )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment