From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Thu, 12 Feb 2004 09:03:34 +0000 (+0000)
Subject: (snippet_res): @include filname must
X-Git-Tag: release/2.1.23~27
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0d1fd1db7c54d47b2652a1bc4fd57505d4c6f9e7;p=lilypond.git

(snippet_res): @include filname must
not be empty.
---

diff --git a/ChangeLog b/ChangeLog
index 2cf3e805fd..d6e9285f93 100644
--- 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.
diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py
index edee878bc2..36deca86c2 100644
--- a/scripts/lilypond-book.py
+++ b/scripts/lilypond-book.py
@@ -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>[^}]+)})',