Index: lily/parser.yy |
diff --git a/lily/parser.yy b/lily/parser.yy |
index 94dacc5d3eebc2491fc96bd34c68eee5b658ece5..92c21c7194a7dc8c1002b6659dcecf6c3cf7da66 100644 |
--- a/lily/parser.yy |
+++ b/lily/parser.yy |
@@ -1706,8 +1706,12 @@ post_event: |
direction_less_event { |
$$ = $1; |
} |
- | '-' music_function_event { |
+ | script_dir music_function_event { |
$$ = run_music_function (PARSER, $2); |
+ if ($1) |
+ { |
+ unsmob_music ($$)->set_property ("direction", scm_from_int ($1)); |
+ } |
} |
| HYPHEN { |
if (!PARSER->lexer_->is_lyric_state ()) |