diff options
author | Patrick McCarty <pnorcks@gmail.com> | 2010-12-11 15:59:08 -0800 |
---|---|---|
committer | Patrick McCarty <pnorcks@gmail.com> | 2010-12-11 16:03:19 -0800 |
commit | 4e06a1fa15844c780efc808b1be55ddd3046aee9 (patch) | |
tree | 380da494bfeaebe8dd904b3b06bca70d395fe117 | |
parent | a8b64ea2463992914322351f910a2d54cf0f96a0 (diff) |
lilypond-words: Fix note-name detection.
Thanks to Jay Anderson for noticing the problem.
-rw-r--r-- | scripts/build/lilypond-words.py | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/scripts/build/lilypond-words.py b/scripts/build/lilypond-words.py index ef6328fe1a..4768c5dfea 100644 --- a/scripts/build/lilypond-words.py +++ b/scripts/build/lilypond-words.py @@ -47,21 +47,8 @@ for name in ['ly/chord-modifiers-init.ly', keywords += [w for w in re.findall (r"(?m)^\s*\"?([a-zA-Z]+)\"?\s*=", s)] # note names -for name in ['ly/catalan.ly', - 'ly/deutsch.ly', - 'ly/drumpitch-init.ly', - 'ly/english.ly', - 'ly/espanol.ly', - 'ly/italiano.ly', - 'ly/makam.ly', - 'ly/nederlands.ly', - 'ly/norsk.ly', - 'ly/portugues.ly', - 'ly/suomi.ly', - 'ly/svenska.ly', - 'ly/vlaams.ly']: - s = open (name, 'r').read () - note_names += [n for n in re.findall (r"(?m)^\s*\(([a-z]+)[^l]+ly:make-pitch", s)] +s = open ('scm/define-note-names.scm', 'r').read () +note_names += [n for n in re.findall (r"(?m)^\s*\(([a-z]+)\s+\.\s+,\(ly:make-pitch", s)] # reserved words for name in ['ly/engraver-init.ly', |