mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-06 15:34:44 +08:00
c99058741a
Ncgen is unable to resolve ambiguous references to an enum constant when two different enums have same econstant name. Solved by allowing more specific forms for econstant references. 1. /.../enumname.enumconstname 2. enumname.enumconstname 3. enumconstname Case 1 is resolved by using the econstant in the specific enum definition. If none is found, an error is reported. Case 2 is resolved by 1. finding an enclosing group with an enum definition with the specified name and containing the specified econstant. If there are more than one, then an error is reported 2. finding all enum definitions in the dataset that have the specified enum name and contain the specified econstant. If more than one is found, then an error is reported. If the above two methods fail, then report an error. Case 3 is similar to case 2, but all enums, irrespective of name are used if they contains the specified enum constant. The ref_tst_econst.cdl test in ncdump is causing ncdump to fail. So there may be yet some problem.
29 lines
1.2 KiB
Makefile
29 lines
1.2 KiB
Makefile
## This is a automake file, part of Unidata's netCDF package.
|
|
# Copyright 2007, see the COPYRIGHT file for more information.
|
|
|
|
# This is to include the libnc-dap test comparison files
|
|
|
|
# $Id: Makefile.am,v 1.5 2010/04/27 18:50:44 dmh Exp $
|
|
|
|
EXTRA_DIST = \
|
|
c0.cdl example_good.cdl fills.cdl nc_enddef.cdl nc_sync.cdl pres_temp_4D.cdl \
|
|
ref_const_test.cdl ref_ctest1_nc4.cdl ref_ctest1_nc4c.cdl ref_dimscope.cdl \
|
|
ref_nctst.cdl ref_nctst_64bit_offset.cdl ref_nctst_netcdf4.cdl \
|
|
ref_nctst_netcdf4_classic.cdl \
|
|
ref_tst_comp.cdl ref_tst_comp2.cdl ref_tst_comp3.cdl \
|
|
ref_tst_enum_data.cdl ref_tst_group_data.cdl \
|
|
ref_tst_nans.cdl ref_tst_opaque_data.cdl ref_tst_small.cdl \
|
|
ref_tst_solar_1.cdl ref_tst_solar_2.cdl ref_tst_special_atts.cdl \
|
|
ref_tst_string_data.cdl ref_tst_unicode.cdl ref_tst_utf8.cdl \
|
|
ref_typescope.cdl sfc_pres_temp.cdl \
|
|
simple_xy.cdl small.cdl small2.cdl test0.cdl tst_ncml.cdl \
|
|
bigf1.cdl bigf2.cdl bigf3.cdl bigr1.cdl bigr2.cdl bigr3.cdl \
|
|
n3time.cdl ref_tst_special_atts3.cdl ref_tst_unlim2.cdl ref_tst_chardata.cdl \
|
|
ref_solar.cdl unlimtest1.cdl unlimtest2.cdl \
|
|
ref_tst_opaque_data.cdl \
|
|
ref_tst_vlen_data.cdl ref_tst_vlen_data2.cdl \
|
|
ref_niltest.cdl ref_tst_h_scalar.cdl ref_tst_econst.cdl
|
|
|
|
|
|
|