Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30809/compiler/include

Modified Files:
      Tag: XQuery_0-24
        mil.h mil_mnemonic.h 
Log Message:
Adding mil operator PFmil_le (less or equal '<=') needed for some conditional 
statements (e.g., looping around updates). The multiplexed version was too 
"multiplex" for the simple cases.


U mil_mnemonic.h
Index: mil_mnemonic.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/mil_mnemonic.h,v
retrieving revision 1.57
retrieving revision 1.57.2.1
diff -u -d -r1.57 -r1.57.2.1
--- mil_mnemonic.h      21 May 2008 09:50:13 -0000      1.57
+++ mil_mnemonic.h      5 Jun 2008 09:45:40 -0000       1.57.2.1
@@ -274,6 +274,9 @@
 /** greater than */
 #define gt(a,b) PFmil_gt ((a), (b))
 
+/** less or equal */
+#define le(a,b) PFmil_le ((a), (b))
+
 /** equal */
 #define eq(a,b) PFmil_eq ((a), (b))
 

U mil.h
Index: mil.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/mil.h,v
retrieving revision 1.67
retrieving revision 1.67.2.1
diff -u -d -r1.67 -r1.67.2.1
--- mil.h       21 May 2008 10:10:49 -0000      1.67
+++ mil.h       5 Jun 2008 09:45:40 -0000       1.67.2.1
@@ -236,6 +236,7 @@
     , m_mround_up    /**< multiplexed operator round_up */
 
     , m_gt           /**< greater than */
+    , m_le           /**< less or equal */
     , m_eq           /**< equal */
     , m_meq          /**< multiplexed comparison (equality) */
     , m_mgt          /**< multiplexed comparison (greater than) */
@@ -736,6 +737,9 @@
 /** greater than */
 PFmil_t * PFmil_gt (const PFmil_t *, const PFmil_t *);
 
+/** less or equal */
+PFmil_t * PFmil_le (const PFmil_t *, const PFmil_t *);
+
 /** equal */
 PFmil_t * PFmil_eq (const PFmil_t *, const PFmil_t *);
 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to