]> git.donarmstrong.com Git - lilypond.git/commitdiff
(snippet_res): @include filname must
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 12 Feb 2004 09:03:34 +0000 (09:03 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 12 Feb 2004 09:03:34 +0000 (09:03 +0000)
not be empty.

ChangeLog
scripts/lilypond-book.py

index 2cf3e805fd49583ad14f5ce1803c437a211a82f4..d6e9285f935e7df52a6acf759a9b4eb1c0d6ef87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-12  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * scripts/lilypond-book.py (snippet_res): @include filname must
+       not be empty.
+
 2004-02-12  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
        * lily/chord-name.cc: remove props chord, bass, inversion.
index edee878bc25e7b798494e1abb4fa842c061a6b95..36deca86c2d25e72198ca7f3be7e9c37be64360d 100644 (file)
@@ -155,7 +155,7 @@ snippet_res = {
        },
 
        TEXINFO: {
-       'include':  '(?m)^[^%\n]*?(?P<match>@include\s+(?P<filename>\S*))',
+       'include':  '(?m)^[^%\n]*?(?P<match>@include\s+(?P<filename>\S+))',
        'lilypond' : '(?m)^(?P<match>@lilypond(\[(?P<options>[^]]*)\])?{(?P<code>.*?)})',
        'lilypond_block': r'''(?ms)^(?P<match>@lilypond(\[(?P<options>[^]]*)\])?\s(?P<code>.*?)@end lilypond)\s''',
        'lilypond_file': '(?m)^(?P<match>@lilypondfile(\[(?P<options>[^]]*)\])?{(?P<filename>[^}]+)})',