words: group some scales, support comments

Not sure how we missed mixolydian.

Updates #1235

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2021-08-13 15:46:13 -07:00
parent 1bca722824
commit c992504375
2 changed files with 46 additions and 41 deletions

View File

@@ -49,7 +49,7 @@ func parseWords(txt []byte) []string {
if i != -1 {
word, txt = word[:i], txt[i+1:]
}
if word := strings.TrimSpace(string(word)); word != "" {
if word := strings.TrimSpace(string(word)); word != "" && word[0] != '#' {
ret = append(ret, word)
}
}