Jan Nieuwenhuizen <jann...@gnu.org> writes:

> Hi,
>
> I made this typo
>
>     \layout {
>     music = { }
>     { \music }
>
> and Lily segfaults on me.

What happens is that the lexer encounters an unexpected EOF.  It cleans
up the lexer state and delivers EOF to the parser.  However, EOF to the
parser does not make it stop in its tracks.  Instead, it wraps up its
parsing which may involve popping the lexer state which has already been
cleaned down to bottom.  Need to see how to get the synchronization of
the two not go out of kilter here.

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to