2020.10.07

This commit is contained in:
Seymour Shlien
2020-10-07 12:47:54 -04:00
parent c0d3f540d5
commit 92af67ffd8
9 changed files with 46 additions and 7 deletions

View File

@@ -22,7 +22,7 @@
/* yapstree.c - back-end for abc parser. */
/* generates a data structure suitable for typeset music */
#define VERSION "1.79 October 01 2020 yaps"
#define VERSION "1.80 October 07 2020 yaps"
#include <stdio.h>
#ifdef USE_INDEX
#define strchr index
@@ -1413,6 +1413,21 @@ static void divide_ties()
};
}
/* A score_linebreak has been encountered [JA] 2020-10-07*/
void event_score_linebreak (char ch)
{
if (xinbody) {
/* end current score line - code from endmusicline */
cv->lineend = addfeature (MUSICSTOP, (void *)NULL);
addfeature (PRINTLINE, newvertspacing ());
cv->line = newline;
divide_ties ();
/* start new score line - startmusicline */
event_startmusicline ();
}
}
void event_endmusicline(endchar)
char endchar;
/* We are at the end of a line of abc notes */