From 9c143dbdc40ec9a60ad110d2869ce7ad1ed6ca29 Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Thu, 29 Apr 2010 21:52:12 +0100 Subject: [PATCH] Cool repeat shorthand for Valentin :) --- lily/parser.yy | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lily/parser.yy b/lily/parser.yy index ac0d357..3b4295d 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -994,6 +994,11 @@ repeated_music: { $$ = MAKE_SYNTAX ("repeat", @$, $2, $3, $4, $5); } + | + sequential_music '*' unsigned_number + { + $$ = MAKE_SYNTAX ("repeat", @$, ly_string2scm ("unfold"), $3, $1, SCM_EOL); + } ; sequential_music: -- 1.7.0.4