Re: Check for cycles in context defs - any length

2007-11-17 Thread Rune Zedeler
Han-Wen Nienhuys skrev: I think that you it will be trivially easy to use a set<> iso. writing into the Context_def. In dev/rune -Rune ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Check for cycles in context defs - any length

2007-11-17 Thread Rune Zedeler
Han-Wen Nienhuys skrev: I don't think that will work. We can change all these definitions on the fly using \with { \accepts .. } Even if this might not be working right now, but it should be in the future. That is true. It won't work then. But otoh, afaics the whole path_to_accepta

Re: Check for cycles in context defs - any length

2007-11-17 Thread Han-Wen Nienhuys
2007/11/17, Rune Zedeler <[EMAIL PROTECTED]>: > (assuming you took this off the list on purpose) No, on accident actually. > > No, it's better that we don't do this. If you need marking of some > > sort, pass a set into the function. It would be even > > nicer to do without, but I'm not sure if i

Check for cycles in context defs - any length

2007-11-16 Thread Rune Zedeler
I have made a check for cycles at any length - pushed it to dev/rune. See files context-def.cc and context-def.hh Main problem is that Context_def::path_to_acceptable_context cannot anymore be marked as const because it needs to flag the contexts that it visits. Is this ok? I still haven't ma