]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lexer.ll
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / lily / lexer.ll
index 942c52244f182b22eb8d378ef4eda6bace590092..66457f4b9e75b6b1b3b850c0912080de01cfc040 100644 (file)
@@ -4,7 +4,7 @@
 
   source file of the LilyPond music typesetter
 
-  (c) 1996--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1996--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
            Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
@@ -570,7 +570,10 @@ BOM_UTF8   \357\273\277
 <*><<EOF>> {
        if (is_main_input_)
        {
-               /* 2 = init.ly + current file. */ 
+               /* 2 = init.ly + current file.
+                  > because we're before closing, but is_main_input_ should
+                  reflect after.
+               */ 
                is_main_input_ = include_stack_.size () > 2;
                if (!close_input ())
                /* Returns YY_NULL */