mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-06 06:55:06 +00:00
2020.10.07
This commit is contained in:
17
yapstree.c
17
yapstree.c
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user