1 #ifndef KEYWORD 2 #define __MAKE_KEYWORD_ENUM__ 3 #define KEYWORD(symbol, flags, nargs) K_##symbol, 4 enum { 5 K_UNKNOWN, 6 #endif 7 KEYWORD(subsystem, SECTION, 1) 8 KEYWORD(devname, OPTION, 1) 9 KEYWORD(dirname, OPTION, 1) 10 #ifdef __MAKE_KEYWORD_ENUM__ 11 KEYWORD_COUNT, 12 }; 13 #undef __MAKE_KEYWORD_ENUM__ 14 #undef KEYWORD 15 #endif 16