ncgen, escape seg fault

fix infinite loop seg fault, where codify called jcodify called codify, ...should have been jcodify calling ccodify