David Kastrup wrote:
Taco Hoekwater
writes:
David Kastrup wrote:
Can anybody think of a semantic nest without grouping apart from unrestricted hmode (which I use above)?
The example that was attached by Frank (or Stijn?) does just fine.
But that's not without grouping as far as I can see, so it is not really different from what I had. If you put a line {{{{{{{{{{{{{{{{{{{{{ before the problem, then it will again bomb out with a grouping error instead. At least that is what I think I see when looking at the error message and context.
In short: I don't see how one can trigger semantic nest errors when the semantic nest limit is more than twice the grouping limit (which it isn't right now).
I was still very much focused on the bug report when I wrote the above, so I misread your reply. You are almost certainly right about the nest>2*groups, just with maybe a small extra delta, like nest>2*groups+2 (because many functions push the semantic nest before the save stack). I do not want to spend the time (probably a lot of time) finding out the absolute truth, but I agree that a nest_size of 600 appears to make the error unreachable. Best wishes, Taco