From 15be2a8d3dc8706acbbdccc76a22ea2b01e143bc Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:44:04 +0000 Subject: [PATCH] lilypond-0.0.65 --- lily/lexer.l | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lily/lexer.l b/lily/lexer.l index 39250c95c4..72ab455a26 100644 --- a/lily/lexer.l +++ b/lily/lexer.l @@ -110,7 +110,12 @@ LYRICS ({AA}|{NATIONAL})[^0-9 \t\n\f]* yy_pop_state(); } } - +<> { + LexerError("EOF found inside a comment"); + if (! close_input()) { + yyterminate(); // can't move this, since it actually rets a YY_NULL + } +} \\include { yy_push_state(incl); -- 2.39.5