]> Nishi Git Mirror - gwion.git/commitdiff
:art: Fix #257
authorfennecdjay <fennecdjay@gmail.com>
Mon, 27 Feb 2023 08:45:19 +0000 (09:45 +0100)
committerfennecdjay <fennecdjay@gmail.com>
Mon, 27 Feb 2023 08:45:19 +0000 (09:45 +0100)
include/import/checker.h
include/import/oper.h

index fbe4b50f80e3f68329fe5217441494fee4c9ab88..f81de9ff4c50a7eeb9ae45d45465fecb891f8cbc 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __IMPORT_CHECKER
-#define __IMPORT_CHECKER
+#ifndef _IMPORT_CHECKER
+#define _IMPORT_CHECKER
 
 enum importck_type { ck_edef, ck_udef, ck_tdef, ck_oper, ck_item, ck_fdef };
 
index 3e196e2d970d7c7556a89e55290a507f1d243836..131e96f8d15c1c86afc7aa2209366e9e03147604 100644 (file)
@@ -8,13 +8,13 @@ ANN m_int gwi_oper_emi(const Gwi gwi, const opem);
 ANN2(1) m_int gwi_oper_end(const Gwi gwi, const m_str op, const f_instr f);
 ANN m_int gwi_oper_cond(const Gwi, const m_str, const f_instr, const f_instr);
 ANN void  gwi_oper_eff(const Gwi gwi, const m_str effect);
-#define _EQUALITY_OPER(sz, sign)                                               \
+#define EQUALITY_OPER_INNER(sz, sign)                                          \
   POP_REG(shred, sz * 2 - SZ_INT);                                             \
   *(m_uint *)REG(-SZ_INT) =                                                    \
       sign memcmp(shred->reg + SZ_INT, shred->reg + SZ_INT + sz, sz);
 
 #define EQUALITY_OPER(name, sz)                                                \
-  static INSTR(name##_eq) { _EQUALITY_OPER(sz, !) }                            \
-  static INSTR(name##_ne) { _EQUALITY_OPER(sz, !!) }
+  static INSTR(name##_eq) { _EQUALITY_OPER_INNER(sz, !) }                      \
+  static INSTR(name##_ne) { _EQUALITY_OPER_INNER(sz, !!) }
 
 #endif