]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parser.yy
Web-hu: Translated missing website strings
[lilypond.git] / lily / parser.yy
index 2ddc2c815f31b65c2c582e2e82de35de114d2803..d2f3a8c4dc9e9f0eae7f1512c673fbeabadcdf6d 100644 (file)
@@ -1417,11 +1417,6 @@ event_chord:
        /* TODO: Create a special case that avoids the creation of
           EventChords around simple_elements that have no post_events?
         */
-       /* event_chords like simple notes, note chords, etc, are
-          saved into PARSER->lexer_->chord_repetition_ so that
-          the chord repetition mechanism can copy them when a
-          chord repetition symbol is found
-       */
        simple_chord_elements post_events       {
                SCM elts = ly_append2 ($1, scm_reverse_x ($2, SCM_EOL));
 
@@ -1430,7 +1425,6 @@ event_chord:
                 * i = @$; */
                i.set_location (@1, @2);
                $$ = MAKE_SYNTAX ("event-chord", i, elts);
-               PARSER->lexer_->chord_repetition_.last_chord_ = $$;
        }
        | CHORD_REPETITION optional_notemode_duration post_events {
                Input i;
@@ -1446,6 +1440,10 @@ event_chord:
                $$ = MAKE_SYNTAX ("multi-measure-rest", i, $2, $3);
        }
        | command_element
+       /* note chord elements are memorized into
+          PARSER->lexer_->chord_repetition_ so that the chord repetition
+          mechanism copy them when a chord repetition symbol is found
+       */
        | note_chord_element    {
                PARSER->lexer_->chord_repetition_.last_chord_ = $$;
        }