]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/mf-to-table.py
Fix #275.
[lilypond.git] / buildscripts / mf-to-table.py
index c94d402e79876c0cd48489ab6b9af2d482ddb3b5..4a6d304bd96194455e85a435e3bbc96f6fa91ae3 100644 (file)
@@ -21,6 +21,7 @@ def read_log_file (fn):
     deps = []
     autolines = []
     def include_func (match, d = deps):
+        print match.group (1)
         d.append (match.group (1))
         return ''
 
@@ -28,7 +29,7 @@ def read_log_file (fn):
         a.append (match.group (1))
         return ''
 
-    str = re.sub ('\(([a-zA-Z_0-9-]+\.mf)', include_func, str)
+    str = re.sub ('\\(([/a-z.A-Z_0-9-]+\\.mf)', include_func, str)
     str = re.sub ('@{(.*?)@}', auto_func, str)
 
     return (autolines, deps)