Provide proper ca_table for meta selector table
No idea why it was missing.
This commit is contained in:
parent
19215160f4
commit
b461cd3ae7
2 changed files with 4 additions and 3 deletions
|
@ -348,7 +348,8 @@ its meta-data:
|
||||||
Because xdump table is referenced from elsewhere (xdump meta meta
|
Because xdump table is referenced from elsewhere (xdump meta meta
|
||||||
field table), the leftmost field must contain the key. Thus, the
|
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
|
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 *
|
[30:640] Command : xdump 26 *
|
||||||
XDUMP table 1139556210
|
XDUMP table 1139556210
|
||||||
|
@ -415,7 +416,7 @@ We now have complete meta-meta information:
|
||||||
type d (const) 0 meta-type
|
type d (const) 0 meta-type
|
||||||
flags d (bits const) 0 meta-flags
|
flags d (bits const) 0 meta-flags
|
||||||
len d (const) 0
|
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.
|
Dumping the remaining tables is easy: just walk the table of tables.
|
||||||
Here's the first one:
|
Here's the first one:
|
||||||
|
|
|
@ -687,7 +687,7 @@ struct castr mdchr_ca[] = {
|
||||||
{"flags", fldoff(ca_flags), NSC_UCHAR, 0, NULL,
|
{"flags", fldoff(ca_flags), NSC_UCHAR, 0, NULL,
|
||||||
EF_META_FLAGS, NSC_CONST | NSC_BITS},
|
EF_META_FLAGS, NSC_CONST | NSC_BITS},
|
||||||
{"len", fldoff(ca_len), NSC_USHORT, 0, NULL, EF_BAD, NSC_CONST},
|
{"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}
|
{NULL, 0, NSC_NOTYPE, 0, NULL, EF_BAD, 0}
|
||||||
#undef CURSTR
|
#undef CURSTR
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue