diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-07-06 07:57:18 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-07-06 07:57:18 -0700 |
commit | 9894fc762e16c94e3908f159cd8eaaf68bc5f980 (patch) | |
tree | 71185f57a341479128b2a0edb487e63db5d92782 | |
parent | cc0954e022068ca6d7ea54d1bd7bb786053d3a02 (diff) | |
download | abc-9894fc762e16c94e3908f159cd8eaaf68bc5f980.tar.gz abc-9894fc762e16c94e3908f159cd8eaaf68bc5f980.tar.bz2 abc-9894fc762e16c94e3908f159cd8eaaf68bc5f980.zip |
Add fix to Liberty parser to skip extra semicolon.
-rw-r--r-- | src/map/scl/sclLiberty.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/scl/sclLiberty.c b/src/map/scl/sclLiberty.c index 23258b7c..8900b9c4 100644 --- a/src/map/scl/sclLiberty.c +++ b/src/map/scl/sclLiberty.c @@ -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 ) { |