# HG changeset patch # User Mario de Sousa # Date 1333453336 -3600 # Node ID 19bc099215d89685e5dfb4e851607d77ad7c9a9a # Parent 0bb88139e4716e92bb9b42bcfe6cdd5075f9295c Delete incorrect comments I had inserted previously (confusing EQ and NE functions) diff -r 0bb88139e471 -r 19bc099215d8 lib/create_standard_function_txt.sh --- 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 */ diff -r 0bb88139e471 -r 19bc099215d8 lib/iec_std_lib.h --- 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)\