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
- # s7m2 input doesnt care about spaces
+ # s7m2 input doesn't care about spaces
if re.match('[ \t]*\(', str):
str = str.lstrip ()
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.