]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parser.yy
Fix references when using --use-source-file-names (issue 4046)
[lilypond.git] / lily / parser.yy
index c8365abf13e05a62bda7fb9a0e6efcead001e195..4a805f1970f7a4c74b832d1c70d96e572ac965b7 100644 (file)
@@ -2656,7 +2656,7 @@ chord_body_elements:
        ;
 
 chord_body_element:
-       pitch exclamations questions octave_check post_events
+       pitch_or_tonic_pitch exclamations questions octave_check post_events
        {
                bool q = to_boolean ($3);
                bool ex = to_boolean ($2);
@@ -2919,6 +2919,11 @@ pitch:
        }
        ;
 
+pitch_or_tonic_pitch:
+       pitch
+       | steno_tonic_pitch
+       ;
+
 gen_text_def:
        full_markup {
                Music *t = MY_MAKE_MUSIC ("TextScriptEvent", @$);