The generator should abort if constant name already exists.