summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-22 19:10:18 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-22 19:10:18 (GMT)
commit941cf3a13402fb83f2d87e46e08adea3367608ca (patch)
tree8c190be9cb5329019ac09c36b389aabc4c3b0277 /tools
parentf11cb6763ba4652e78c25f2f26b865e8e16d013e (diff)
downloadhdf5-941cf3a13402fb83f2d87e46e08adea3367608ca.zip
hdf5-941cf3a13402fb83f2d87e46e08adea3367608ca.tar.gz
hdf5-941cf3a13402fb83f2d87e46e08adea3367608ca.tar.bz2
[svn-r1369]
added semicolons after the print out of the enum info
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index 1b4322b..62a1853 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -324,12 +324,13 @@ H5G_stat_t statbuf;
printf("H5T_REFERENCE");
break;
case H5T_ENUM:
- printf("H5T_ENUM ");
+ printf("H5T_ENUM\n");
+ indentation(indent + 3);
+ printf("{ ");
super = H5Tget_super(type);
print_datatype(super);
- printf(" {");
+ printf(";");
print_enum(type);
- printf("\n");
indentation (indent + 3);
printf("}\n");
break;
@@ -1669,6 +1670,7 @@ static void print_enum(hid_t type){
printf("%"PRINTF_LL_WIDTH"d",
*((long_long*)(value+i*dst_size)));
}
+ printf(";");
}
/* Release resources */