only process options fi they're there.
+2005-04-06 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scripts/lilypond-book.py (Lilypond_snippet.__init__):
+ only process options fi they're there.
+
2005-04-06 Jan Nieuwenhuizen <jan.nieuwenhuizen@aspiratie.nl>
* scripts/lilypond-book.py (split_options): Bugfix. Small code
def __init__ (self, type, match, format, line_number):
Snippet.__init__ (self, type, match, format, line_number)
os = match.group ('options')
- self.do_options (os, self.type)
+ if os:
+ self.do_options (os, self.type)
def ly (self):
return self.substring ('code')