X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fabc2ly.py;h=3a0aeaedabe7776a610acbc087b358a80bab3e90;hb=516d732401011b6b262a4689d1c6b3233741df8d;hp=8adc6e4ac5890885d41f2f193b2c06b060fe075e;hpb=0e070fddfc42ab25f496d2966d182c5d10280362;p=lilypond.git diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py index 8adc6e4ac5..3a0aeaedab 100644 --- a/scripts/abc2ly.py +++ b/scripts/abc2ly.py @@ -695,7 +695,7 @@ def try_parse_header_line (ln, state): if g == 'K': # KEY a = check_clef(a) if a: - m = re.match ('^([^ \t]*) *([^ ]*)( *)(.*)$', a) # seperate clef info + m = re.match ('^([^ \t]*) *([^ ]*)( *)(.*)$', a) # separate clef info if m: # there may or may not be a space # between the key letter and the mode @@ -929,7 +929,7 @@ def try_parse_articulation (str, state): - # s7m2 input doesnt care about spaces + # s7m2 input doesn't care about spaces if re.match('[ \t]*\(', str): str = str.lstrip () @@ -1332,6 +1332,7 @@ def parse_file (fn): orig_ln = ln + ln = junk_space (ln, state) ln = try_parse_header_line (ln, state) # Try nibbling characters off until the line doesn't change.