X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fbreak-substitution.cc;h=e4d6a9a853d2a29a67d5d2934bb7a8834c8c3598;hb=f3d217ed0b93bf88eddfcb3cc1ca11f3bbf11e3b;hp=b01f2421206f49824c1b0a348c075f63e0f21994;hpb=0326ce088e5d81235df8ff360a7f22f61fa36a09;p=lilypond.git diff --git a/lily/break-substitution.cc b/lily/break-substitution.cc index b01f242120..e4d6a9a853 100644 --- a/lily/break-substitution.cc +++ b/lily/break-substitution.cc @@ -3,16 +3,16 @@ source file of the GNU LilyPond music typesetter - (c) 2001--2006 Han-Wen Nienhuys + (c) 2001--2009 Han-Wen Nienhuys */ #include #include using namespace std; -#include "grob-array.hh" #include "item.hh" #include "system.hh" +#include "grob-array.hh" static SCM break_criterion; void @@ -263,6 +263,8 @@ grob_system_range (Grob *g) struct Substitution_entry { Grob *grob_; + + /* Assumption: we have less than 32k paper columns. */ short left_; short right_; @@ -322,6 +324,8 @@ Spanner::fast_substitute_grob_array (SCM sym, /* We store items on the left, spanners on the right in this vector. + + FIXME: will not multithread. */ static Substitution_entry *vec; static int vec_room;