use constants, not constant, in gencod.c