From cd8d9ca8ca583139e10e6e3579150a68fed700cd Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Wed, 17 Feb 2016 19:15:04 +0100 Subject: [PATCH] parser.yy: Remove redundant duration_length --- lily/parser.yy | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lily/parser.yy b/lily/parser.yy index f09b437fa3..55a6ad41a6 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -1756,7 +1756,7 @@ function_arglist_nonbackup: (parser, @3, $3), $1, $2); } - | function_arglist_nonbackup_reparse REPARSE duration_length + | function_arglist_nonbackup_reparse REPARSE multiplied_duration { $$ = check_scheme_arg (parser, @3, $3, $1, $2); } @@ -2073,7 +2073,7 @@ function_arglist_backup: $$ = check_scheme_arg (parser, @3, $3, $1, $2); } - | function_arglist_backup REPARSE duration_length + | function_arglist_backup REPARSE multiplied_duration { $$ = check_scheme_arg (parser, @3, $3, $1, $2); @@ -2204,7 +2204,7 @@ function_arglist_common: $$ = check_scheme_arg (parser, @3, $3, $1, $2); } - | function_arglist_common_reparse REPARSE duration_length + | function_arglist_common_reparse REPARSE multiplied_duration { $$ = check_scheme_arg (parser, @3, $3, $1, $2); @@ -3179,12 +3179,6 @@ script_dir: | '-' { $$ = SCM_UNDEFINED; } ; -duration_length: - multiplied_duration { - $$ = $1; - } - ; - maybe_notemode_duration: { $$ = SCM_UNDEFINED; -- 2.39.2