diff options
author | Josh Haberman <jhaberman@gmail.com> | 2014-11-18 15:21:50 -0800 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2014-11-18 15:21:50 -0800 |
commit | 3d0c7c45da5b72a88bfb03dc5ce3384b7f01cef6 (patch) | |
tree | 1c9fd69700e1162c7ed78458160800b586600c9b /tools/dump_cinit.lua | |
parent | 648afe3da654b6e08fe6ea26ae520581eb892e23 (diff) |
Sync to Google-internal development.
Diffstat (limited to 'tools/dump_cinit.lua')
-rw-r--r-- | tools/dump_cinit.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/dump_cinit.lua b/tools/dump_cinit.lua index 2988082..13e1f52 100644 --- a/tools/dump_cinit.lua +++ b/tools/dump_cinit.lua @@ -453,14 +453,14 @@ local function dump_defs_c(symtab, basename, namespace, append) intfmt = "0" end -- UPB_FIELDDEF_INIT(label, type, intfmt, tagdelim, is_extension, lazy, - -- name, num, msgdef, subdef, selector_base, index, - -- default_value) - append(' UPB_FIELDDEF_INIT(%s, %s, %s, %s, %s, %s, "%s", %d, %s, %s, ' .. - '%d, %d, {0},' .. -- TODO: support default value + -- packed, name, num, msgdef, subdef, selector_base, + -- index, -- default_value) + append(' UPB_FIELDDEF_INIT(%s, %s, %s, %s, %s, %s, %s, "%s", %d, %s, ' .. + '%s, %d, %d, {0},' .. -- TODO: support default value '&reftables[%d], &reftables[%d]),\n', const(f, "label"), const(f, "type"), intfmt, boolstr(f:istagdelim()), boolstr(f:is_extension()), - boolstr(f:lazy()), f:name(), f:number(), + boolstr(f:lazy()), boolstr(f:packed()), f:name(), f:number(), linktab:addr(f:containing_type()), subdef, f:_selector_base(), f:index(), reftable, reftable + 1 |