re: Issue https://github.com/Unidata/netcdf-c/issues/2108 Fix ncgen to properly locate a matching enum type when it encounters a reference to an enum constant. Add test cases.