From: Han-Wen Nienhuys Date: Fri, 15 Oct 2004 09:31:05 +0000 (+0000) Subject: (enum Direction): add X-Git-Tag: release/2.3.23~28 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=621fb08402668eb7069d81e9d0f8263d835d3533;p=lilypond.git (enum Direction): add DIRECTION_LIMIT --- diff --git a/ChangeLog b/ChangeLog index 7f78d444c7..75b088ebbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2004-10-15 Han-Wen Nienhuys + + * flower/include/direction.hh (enum Direction): add + DIRECTION_LIMIT + +2004-10-14 Han-Wen Nienhuys + + * po/fr.po: new po file. + 2004-10-15 Jan Nieuwenhuizen * Documentation/user/macros.itexi: Do not construct external diff --git a/flower/include/direction.hh b/flower/include/direction.hh index 0572f786ce..aa0a28f211 100644 --- a/flower/include/direction.hh +++ b/flower/include/direction.hh @@ -25,6 +25,17 @@ enum Direction BIGGER=1, START = -1, STOP = 1, + + /* + This is necessary to safely write loops, + since + + dir <= RIGHT + + is otherwise transformed into true unconditionally. + */ + DIRECTION_LIMIT = 2, + DIRECTION_NEG_LIMIT = -2, }; inline Direction