diff options
Diffstat (limited to 'src/map/amap/amapRead.c')
-rw-r--r-- | src/map/amap/amapRead.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/amap/amapRead.c b/src/map/amap/amapRead.c index 1031ee84..471438d5 100644 --- a/src/map/amap/amapRead.c +++ b/src/map/amap/amapRead.c @@ -183,6 +183,10 @@ Vec_Ptr_t * Amap_DeriveTokens( char * pBuffer ) { Vec_PtrPush( vTokens, pToken ); pToken = strtok( NULL, " =\t\r\n" ); + // skip latches + if ( pToken && strcmp( pToken, "LATCH" ) == 0 ) + while ( pToken && strcmp( pToken, "GATE" ) != 0 ) + pToken = strtok( NULL, " =\t\r\n" ); } return vTokens; } |