Skip to content

Commit

Permalink
Forbid the use of repeated pattern in following measures. Closes #3694
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed May 27, 2024
1 parent aea5f95 commit dc4c8c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iopae.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dc4c8c2

Please sign in to comment.