]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.65
authorfred <fred>
Sun, 24 Mar 2002 19:44:04 +0000 (19:44 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:44:04 +0000 (19:44 +0000)
lily/lexer.l

index 39250c95c4ad22a9aea2c9faa17bbfbaf58477eb..72ab455a2633b1f156f3e5b8f39532f9655e638c 100644 (file)
@@ -110,7 +110,12 @@ LYRICS             ({AA}|{NATIONAL})[^0-9 \t\n\f]*
                yy_pop_state();
        }
 }
-
+<longcomment><<EOF>> {
+       LexerError("EOF found inside a comment");
+       if (! close_input()) { 
+         yyterminate(); // can't move this, since it actually rets a YY_NULL
+       }
+}
 <notes,INITIAL,lyrics>
 \\include           {
        yy_push_state(incl);