mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
handle \breve
This commit is contained in:
parent
3126ae3b03
commit
b3f5627e2d
|
@ -186,6 +186,7 @@ def parseLilypond
|
||||||
tokens = []
|
tokens = []
|
||||||
INFILE.each do |line|
|
INFILE.each do |line|
|
||||||
line.chomp!.sub!(/%.*/, "")
|
line.chomp!.sub!(/%.*/, "")
|
||||||
|
line.gsub!(/\\breve/, "1*8/4")
|
||||||
line.scan(%r$\G\s*(\{|\}|\(|\)|\||=|~|<<|>>|--|#'|#\(|##t|##f|\\\w+|\".*?\"|\w[-+^\w\d.',:*/]+|.)$) do |token|
|
line.scan(%r$\G\s*(\{|\}|\(|\)|\||=|~|<<|>>|--|#'|#\(|##t|##f|\\\w+|\".*?\"|\w[-+^\w\d.',:*/]+|.)$) do |token|
|
||||||
tokens.push(token[0])
|
tokens.push(token[0])
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user