From 9027c71510f1c8b9750270dcf03c2efae33b08eb Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Tue, 29 May 2007 08:52:53 +0000 Subject: [PATCH] Escape characters when needed --- Sources/VLLilypondWriter.cpp | 39 +++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/Sources/VLLilypondWriter.cpp b/Sources/VLLilypondWriter.cpp index f3ebb11..4f58d7e 100644 --- a/Sources/VLLilypondWriter.cpp +++ b/Sources/VLLilypondWriter.cpp @@ -148,6 +148,43 @@ static std::string LilypondPitchName(int8_t pitch, bool useSharps) return kScale[pitch+1] + std::string("es"); } +static std::string EscapeSyllable(std::string syll) +{ + for (size_t i=0; i