From 0357e2b58c843f599dfb75eaa80771ae630b5d72 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Fri, 3 Feb 2006 13:10:17 +0000 Subject: [PATCH] typo. --- ChangeLog | 4 ++++ flower/include/array.hh | 2 +- lily/parser.yy | 3 --- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fcb4ef31cd..27cc759899 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-02-03 Han-Wen Nienhuys + + * flower/include/array.hh: typo. + 2006-02-02 Graham Percival * Documentation/user/advanced-notation.itely: doc "\#" in text. diff --git a/flower/include/array.hh b/flower/include/array.hh index a881c778d4..85992a5f0f 100644 --- a/flower/include/array.hh +++ b/flower/include/array.hh @@ -305,7 +305,7 @@ public: boundary (Array const &v, int dir, vsize i) { assert (dir); - return v[dir = -1 ? i : v.size () - 1 - i]; + return v[dir == -1 ? i : v.size () - 1 - i]; } template diff --git a/lily/parser.yy b/lily/parser.yy index 4c5413acdd..080406a08a 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -963,7 +963,6 @@ Simple_music: | context_change ; - optional_context_mod: /**/ { $$ = SCM_EOL; } | WITH { THIS->lexer_->push_initial_state (); } @@ -981,7 +980,6 @@ context_mod_list: } ; - Composite_music: Prefix_composite_music { $$ = $1; } | Grouped_music_list { $$ = $1; } @@ -992,7 +990,6 @@ Grouped_music_list: | Sequential_music { $$ = $1; } ; - function_scm_argument: embedded_scm | simple_string -- 2.39.5