Index: tools/genlang =================================================================== --- tools/genlang (revision 14602) +++ tools/genlang (working copy) @@ -529,6 +529,18 @@ /* this contains the concatenation of all strings, separated by \\0 chars */ extern const unsigned char language_builtin[]; +#include "${prefix}_enum.h" + +MOO + ; + + close(HFILE); + + open(HFILE, ">${prefix}_enum.h") || + die "couldn't create file ${prefix}_enum.h\n"; + + print HFILE <