lib/music-transcription/parsing/articulation_parsing.rb in music-transcription-0.15.0 vs lib/music-transcription/parsing/articulation_parsing.rb in music-transcription-0.16.0
- old
+ new
@@ -114,15 +114,15 @@
@index = cached.interval.end
end
return cached
end
- if (match_len = has_terminal?("-", false, index))
+ if (match_len = has_terminal?("|", false, index))
r0 = instantiate_node(SyntaxNode,input, index...(index + match_len))
r0.extend(Legato0)
@index += match_len
else
- terminal_parse_failure("-")
+ terminal_parse_failure("|")
r0 = nil
end
node_cache[:legato][start_index] = r0
\ No newline at end of file