]> 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>
Sun, 24 Nov 2013 08:45:31 +0000 (09:45 +0100)
lily/parser.yy

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