]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3658: variables cannot be used in \tempo command
authorDavid Kastrup <dak@gnu.org>
Mon, 18 Nov 2013 13:52:00 +0000 (14:52 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 22 Nov 2013 15:11:13 +0000 (16:11 +0100)
lily/parser.yy

index 1ec7578f5bb55ada8a820cf0abab6bfa69af706a..e8fec3de2aa988551577d2289c2e797ca3559a43 100644 (file)
@@ -3321,10 +3321,10 @@ step_number:
        ;
 
 tempo_range:
-       UNSIGNED {
+       unsigned_number {
                $$ = $1;
-       }
-       | UNSIGNED '-' UNSIGNED {
+       } %prec ':'
+       | unsigned_number '-' unsigned_number {
                $$ = scm_cons ($1, $3);
        }
        ;