Delete incorrect comments I had inserted previously (confusing EQ and NE functions)
authorMario de Sousa <msousa@fe.up.pt>
Tue, 03 Apr 2012 12:42:16 +0100
changeset 501 19bc099215d8
parent 500 0bb88139e471
child 502 a6211f73690b
Delete incorrect comments I had inserted previously (confusing EQ and NE functions)
lib/create_standard_function_txt.sh
lib/iec_std_lib.h
--- a/lib/create_standard_function_txt.sh	Sat Mar 31 21:46:37 2012 +0100
+++ b/lib/create_standard_function_txt.sh	Tue Apr 03 12:42:16 2012 +0100
@@ -711,13 +711,6 @@
     /**************/
 /* Should be for: ANY_ELEMENTARY, but we currently do not support WSTRING yet... */
 /* However, we can call __ANY_ELEMENTARY since the __ANY_STRING macro does not call DO(WSTRING) */
-/* NOTE (by mjs) : The following declaration is worng, as it assumes that only 2 parameter may be used!
- *                 The NE function is actually an extensible function, that may be called with more than 2 parameters!
- *                 This needs to be fixed!!
- *       The correct definition is:
- *   __function_1e(NE, BOOL, IN, TYPENAME, 1)             
- *   __function_1e(NE_##TYPENAME, BOOL, IN, TYPENAME, 1) 
- */
 #define __iec_(TYPENAME) \
 __function_2p(NE, BOOL, IN1, TYPENAME, IN2, TYPENAME)            /* overloaded function */ \
 __function_2p(NE_##TYPENAME, BOOL, IN1, TYPENAME, IN2, TYPENAME) /* explicitly typed function */
--- a/lib/iec_std_lib.h	Sat Mar 31 21:46:37 2012 +0100
+++ b/lib/iec_std_lib.h	Tue Apr 03 12:42:16 2012 +0100
@@ -1752,11 +1752,6 @@
     /**************/
     /*     NE     */
     /**************/
-
-/* NOTE (by mjs) : The following declaration is worng, as it assumes that only 2 parameter may be used!
- *                 The NE function is actually an extensible function, that may be called with more than 2 parameters!
- *                 This needs to be fixed!!
- */
 #define __ne_num(fname, TYPENAME) \
 static inline BOOL fname(EN_ENO_PARAMS, TYPENAME op1, TYPENAME op2){\
   TEST_EN(BOOL)\