#include "constants/tms_hms.h" /* Expands to: * enum_start ITEM_TM01 * enum ITEM_TM_FOCUS_PUNCH * ... * enum_start ITEM_HM01 * enum ITEM_HM_CUT * ... */ #define EQUIV_TM(id) enum ITEM_TM_ ## id; #define EQUIV_HM(id) enum ITEM_HM_ ## id; enum_start ITEM_TM01 FOREACH_TM(EQUIV_TM) enum_start ITEM_HM01 FOREACH_HM(EQUIV_HM) #undef EQUIV_TM #undef EQUIV_HM