[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        FindPropContext -- get the property context for the current state.
                           (V36)

   SYNOPSIS
        cn = FindPropContext(iff);
        D0                   A0

        struct contextnode *findpropcontext(struct iffhandle *);

   FUNCTION
        Locates the context node which would be the scoping chunk for
        properties in the current parsing state. (Huh?)  This is used for
        locating the proper scoping context for property chunks i.e. the
        scope from which a property would apply. This is usually the FORM
        or LIST with the highest precedence in the context stack.

        If you don't understand this, read the IFF spec a couple more times.

   INPUTS
        iff - pointer to iffhandle structure.

   RESULT
        cn - contextnode of property scoping chunk.

   SEE ALSO
        currentchunk(), parentchunk(), storeitemincontext(),
        <libraries/iffparse.h>