On 2019-02-24T14:29:01 +0100 Marcus Weseloh <mar...@weseloh.cc> wrote: > > And that might actually be your problem. The terminal entries are important > to determine the length of the collections. For example, the terminal ibag > entry has the wInstGenNdx that you need to determine the number of > generators in the previous ibag entry (terminal wInstGenNdx - previous > wInstGenNdx). And that method is used in nearly all the collections > (modulators, ibags, pbags, ...). > > So your parser can't simply ignore the terminal zones.
Ah, to be clear, the parser itself doesn't ignore them. It uses them internally to determine numbers of records and the like. It's just that the programmer using the parser doesn't see the terminal record; they just receive a (possibly empty) list of the available non-terminal records. -- Mark Raynsford | http://www.io7m.com
pgpo8GQFe27KL.pgp
Description: OpenPGP digital signature
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev