2
0
mirror of https://github.com/Unidata/netcdf-c.git synced 2025-02-11 16:40:36 +08:00
netcdf-c/ncgen
Dennis Heimbigner ac421620b3 Fix the handling of certain alias types on CDL files.
re: https://github.com/Unidata/netcdf-c/issues/1977

PR https://github.com/Unidata/netcdf-c/pull/1753, changed ncgen
to allows certain type names to be used as identifiers in
selected situations.

An unwanted side effect was that existing type aliases no longer
were accepted by ncgen. Specifically, using the "long" type
caused an error.

I was able to figure out a better solution to the original
problem (https://github.com/Unidata/netcdf-c/issues/1750)
that also fixes this problem as well.

This PR fixes that problem in ncgen/ncgen.l,
and adds tests to ncdump/test_keywords.sh
2021-04-13 16:56:43 -06:00
..
bindata.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
bytebuffer.c ncgen directory updated 2018-12-06 15:40:43 -07:00
bytebuffer.h ncgen directory updated 2018-12-06 15:40:43 -07:00
c0_4.cdl
c0.cdl
c5.cdl
cdata.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
cdfdata.c ncgen directory updated 2018-12-06 15:40:43 -07:00
CMakeLists.txt Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
cmldata.c ncgen directory updated 2018-12-06 15:40:43 -07:00
compound_datasize_test2.cdl
compound_datasize_test.cdl
ctests.sh
cvt.c Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
data.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
data.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
debug.c ncgen directory updated 2018-12-06 15:40:43 -07:00
debug.h Fix ncgen handling of big data sections 2020-05-14 11:20:46 -06:00
depend
dump.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
dump.h ncgen directory updated 2018-12-06 15:40:43 -07:00
env
escapes.c ncgen directory updated 2018-12-06 15:40:43 -07:00
f77data.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
foo.cdl
ftests.sh
genbin.c Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
genc.c Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
genchar.c Merge branch 'ncgenchunks.dmh' of https://github.com/DennisHeimbigner/netcdf-c into master 2020-09-09 10:24:33 -06:00
gencml.c ncgen directory updated 2018-12-06 15:40:43 -07:00
generate.c Fix the handling of certain alias types on CDL files. 2021-04-13 16:56:43 -06:00
generate.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
generr.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
generr.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
genf77.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
genj.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
genjjni.c ncgen directory updated 2018-12-06 15:40:43 -07:00
genjstd.c ncgen directory updated 2018-12-06 15:40:43 -07:00
genlib.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
genlib.h Fix the handling of certain alias types on CDL files. 2021-04-13 16:56:43 -06:00
getfill.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
includes.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
internals.html Spelling fixes 2019-09-18 08:03:01 -06:00
jdata.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
jdatajni.c ncgen directory updated 2018-12-06 15:40:43 -07:00
jdatastd.c ncgen directory updated 2018-12-06 15:40:43 -07:00
jtests.sh
lfs-tests
list.c ncgen directory updated 2018-12-06 15:40:43 -07:00
list.h ncgen directory updated 2018-12-06 15:40:43 -07:00
main_cpp.cpp This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
main.c Codify cross-platform file paths 2021-03-04 13:41:31 -07:00
Makefile.am Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
makeparser.sh
ncf199.cdl
ncf345.cdl
ncgen.1 This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ncgen.h Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
ncgen.l Fix the handling of certain alias types on CDL files. 2021-04-13 16:56:43 -06:00
ncgen.y Fix the handling of certain alias types on CDL files. 2021-04-13 16:56:43 -06:00
ncgenl.c Fix the handling of certain alias types on CDL files. 2021-04-13 16:56:43 -06:00
ncgeny.c Fix the handling of certain alias types on CDL files. 2021-04-13 16:56:43 -06:00
ncgeny.h Fix the handling of certain alias types on CDL files. 2021-04-13 16:56:43 -06:00
odom.c ncgen directory updated 2018-12-06 15:40:43 -07:00
odom.h ncgen directory updated 2018-12-06 15:40:43 -07:00
ref_camrun.cdl Spelling fixes 2019-09-18 08:03:01 -06:00
run_tests2.sh
semantics.c Codify cross-platform file paths 2021-03-04 13:41:31 -07:00
tst_gattenum.cdl
tst_usuffix.cdl
util.c Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
util.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00