From: fred Date: Sun, 24 Mar 2002 19:44:04 +0000 (+0000) Subject: lilypond-0.0.65 X-Git-Tag: release/1.5.59~4686 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=15be2a8d3dc8706acbbdccc76a22ea2b01e143bc;p=lilypond.git lilypond-0.0.65 --- 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);