diff --git a/doc/xdump b/doc/xdump index 7d46778e..c7f2ba46 100644 --- a/doc/xdump +++ b/doc/xdump @@ -348,7 +348,8 @@ its meta-data: Because xdump table is referenced from elsewhere (xdump meta meta field table), the leftmost field must contain the key. Thus, the leftmost field's meta-data field table must be the table ID of xdump -table itself. Let's try it: +table itself. Indeed, its value matches the one we got in xdump meta +meta. Let's try to dump the table: [30:640] Command : xdump 26 * XDUMP table 1139556210 @@ -415,7 +416,7 @@ We now have complete meta-meta information: type d (const) 0 meta-type flags d (bits const) 0 meta-flags len d (const) 0 - table d (const) 0 + table d (const) 0 table Dumping the remaining tables is easy: just walk the table of tables. Here's the first one: diff --git a/src/lib/common/nsc.c b/src/lib/common/nsc.c index 6b85e235..a5c439fa 100644 --- a/src/lib/common/nsc.c +++ b/src/lib/common/nsc.c @@ -687,7 +687,7 @@ struct castr mdchr_ca[] = { {"flags", fldoff(ca_flags), NSC_UCHAR, 0, NULL, EF_META_FLAGS, NSC_CONST | NSC_BITS}, {"len", fldoff(ca_len), NSC_USHORT, 0, NULL, EF_BAD, NSC_CONST}, - {"table", fldoff(ca_table), NSC_INT, 0, NULL, EF_BAD, NSC_CONST}, + {"table", fldoff(ca_table), NSC_INT, 0, NULL, EF_TABLE, NSC_CONST}, {NULL, 0, NSC_NOTYPE, 0, NULL, EF_BAD, 0} #undef CURSTR };