]> git.donarmstrong.com Git - lilypond.git/commitdiff
(enum Direction): add
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 15 Oct 2004 09:31:05 +0000 (09:31 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 15 Oct 2004 09:31:05 +0000 (09:31 +0000)
DIRECTION_LIMIT

ChangeLog
flower/include/direction.hh

index 7f78d444c79afcdaabe0a4a2b7bb468132101572..75b088ebbc710fcef2d19eb31c677db885dba266 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2004-10-15  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * flower/include/direction.hh (enum Direction): add
+       DIRECTION_LIMIT
+
+2004-10-14  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * po/fr.po: new po file.
+
 2004-10-15  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * Documentation/user/macros.itexi: Do not construct external
index 0572f786ce8ad62d2e31215ae96583f2ac19ec2f..aa0a28f2116022314f9c429874da6c47118ad795 100644 (file)
@@ -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