From dc4c8c2f528062a5d93dd70223f7df72209c1d48 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Mon, 27 May 2024 15:43:15 +0200 Subject: [PATCH] Forbid the use of repeated pattern in following measures. Closes #3694 --- src/iopae.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iopae.cpp b/src/iopae.cpp index 8ae1261b98f..a45efef5873 100644 --- a/src/iopae.cpp +++ b/src/iopae.cpp @@ -3494,8 +3494,8 @@ bool PAEInput::ConvertRepeatedFigure() --token; status = pae::FIGURE_REPEAT; } - // End of repetitions - this does not include the end of a measure - else if (!this->Was(*token, pae::MEASURE)) { + // End of repetitions + else { // Make sure we repeated the figure at least once (is this too pedantic?) if (status == pae::FIGURE_END) { LogPAE(ERR_010_REP_UNUSED, *figureToken);