mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-23 16:59:54 +08:00
1. Updated the ncgen manual (ncgen.1) to discuss handling of ambiguous enumeration constant references. 2. Fixed the test case. It is currently XFAIL'd until such time as ncdump is modified to output properly disambiguated enumeration constant references.
17 lines
239 B
Plaintext
17 lines
239 B
Plaintext
netcdf ref_tst_econst {
|
|
types:
|
|
byte enum e1 {pass = 0, fail = 1, undefined = 2} ;
|
|
byte enum e2 {defined = 0, undefined = 1} ;
|
|
variables:
|
|
e1 test1 ;
|
|
e2 test2 ;
|
|
e1 test3 ;
|
|
data:
|
|
|
|
test1 = pass ;
|
|
|
|
test2 = undefined;
|
|
|
|
test3 = fail;
|
|
}
|