Hi Harm,
This is great. It locates unterminated glissandi, but in my case it was just stupidity - they were at the end of the score with no note following. This amazing code of yours does not, in my setting at least, locate or catch the 'programming error: overwriting glissando' issue.
Thanks so much in any case.
Andrew