handle \breve

This commit is contained in:
Matthias Neeracher 2008-04-22 00:32:36 +00:00
parent 3126ae3b03
commit b3f5627e2d

View File

@ -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