#pragma once typedef enum _keyword { UNKNOWN_KEYWORD = 0, #define KW(kw) KW_##kw, #include "keywords.def" #undef KW } keyword_t; keyword_t lookup_keyword(const char *keyword);