netcdf-c/ncdump/cdl/Makefile.am
Dennis Heimbigner 8e6beda671 NetCDF-c Github issue #178
NetCDF-c Github issue #178 / esupport BNL-694121

The ncgen man pages says:
> Note also that the words variable',dimension', data',group', and
> `types' are legal CDL names, but be careful that there is a space be-
> tween them and any following colon character when used as a variable
> name. This is mostly an issue with attribute declarations.

Ncdump does not obey this rule.
The fix is to modify ncdump/ncdump.c to check if a variable name is
a keyword.

Also added test case.
2015-12-26 18:19:04 -07:00

31 lines
1.3 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 \
ref_tst_nul3.cdl ref_tst_nul4.cdl ref_tst_names.cdl \
ref_tst_long_charconst.cdl tst_chararray.cdl ref_keyword.cdl \
CMakeLists.txt