Do you have an example file with nested clones? I would like to test new 
model with it.
Vitalije

On Wednesday, June 13, 2018 at 3:08:38 PM UTC+2, Edward K. Ream wrote:
>
> Handling nested clones properly while scanning the text of the external 
> file is more tricky than I imagined.
>
> The immediate difficulty is deciding whether to clear v.children or not.  
> In some cases we want to do that, in other cases not.  The corresponding 
> problem, when scanning the descendants of a cloned node, is whether to 
> update v.parents and parent_v.children.
>
> The existing (horrible) code, solves this problem somehow, probably using 
> yet another stack, and possibly by marking nodes as being visited.
>
> Presumably some valid way exists in the fast-read branch, but I'm not sure 
> what it is.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to