From: Han-Wen Nienhuys Date: Sat, 3 Feb 2007 15:22:51 +0000 (+0100) Subject: Fix #275. X-Git-Tag: release/2.11.16-1~18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9422fcec23df51d0a88c06462348275d62001f75;p=lilypond.git Fix #275. Also allow . in dir/file names. --- diff --git a/buildscripts/mf-to-table.py b/buildscripts/mf-to-table.py index c94d402e79..4a6d304bd9 100644 --- a/buildscripts/mf-to-table.py +++ b/buildscripts/mf-to-table.py @@ -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)