]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parser.yy
Issue 4917: Remove some set_location calls from parser
[lilypond.git] / lily / parser.yy
index 2accdb1eb75613256ab9012ac3b3cf7cb92717ca..159786b93c1dbc13268e72140f1cf7a485996177 100644 (file)
@@ -2942,15 +2942,11 @@ event_chord:
                }
        } %prec ':'
        | CHORD_REPETITION optional_notemode_duration post_events {
-               Input i;
-               i.set_location (@1, @3);
-               $$ = MAKE_SYNTAX (repetition_chord, i,
+               $$ = MAKE_SYNTAX (repetition_chord, @$,
                                  $2, scm_reverse_x ($3, SCM_EOL));
        } %prec ':'
        | MULTI_MEASURE_REST optional_notemode_duration post_events {
-               Input i;
-               i.set_location (@1, @3);
-               $$ = MAKE_SYNTAX (multi_measure_rest, i, $2,
+               $$ = MAKE_SYNTAX (multi_measure_rest, @$, $2,
                                  scm_reverse_x ($3, SCM_EOL));
        } %prec ':'
        | tempo_event