Fix bug: XOR operator was broken for ANY_BIT types. No XOR__[DL]WORD__[DL]WORD functions were generated.
authorAndrey Skvortsov
Wed, 20 Sep 2017 14:56:18 +0100
changeset 1063 b5b48b6f7606
parent 1062 814acf353c69
child 1064 1ac77681946f
Fix bug: XOR operator was broken for ANY_BIT types. No XOR__[DL]WORD__[DL]WORD functions were generated.
lib/C/iec_std_functions.h
--- a/lib/C/iec_std_functions.h	Wed Sep 20 10:47:54 2017 +0100
+++ b/lib/C/iec_std_functions.h	Wed Sep 20 14:56:18 2017 +0100
@@ -776,7 +776,7 @@
 
 #define __iec_(TYPENAME) \
 __arith_expand(XOR_##TYPENAME, TYPENAME, ^) /* The explicitly typed standard functions */\
-__arith_expand(XOR__##TYPENAME##__##TYPENAME, TYPENAME, ^) /* Overloaded function */\
+__arith_expand(XOR__##TYPENAME##__##TYPENAME, TYPENAME, ^) /* Overloaded function */
 __ANY_NBIT(__iec_)
 #undef __iec_