diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-07-02 21:40:10 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-07-02 21:40:10 -0700 |
commit | 2c5c3fdc25c586c1eee987f1c4181b5eee0732ec (patch) | |
tree | 5b550914c5668dae62c1369bfd3d5c8d1e756486 /upb_msg.c | |
parent | b0ef7f0b6778addc91ce04ca1d6e835d44387c83 (diff) |
More tests and fixes.
Diffstat (limited to 'upb_msg.c')
-rw-r--r-- | upb_msg.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,8 +31,9 @@ static int compare_fields(const void *e1, const void *e2) { bool upb_msg_init(struct upb_msg *m, struct google_protobuf_DescriptorProto *d) { - /* TODO: more complete validation. */ - if(!d->set_flags.has.field) return false; + /* TODO: more complete validation. + * TODO: re-enable this check when we properly set this flag. */ + //if(!d->set_flags.has.field) return false; upb_inttable_init(&m->fields_by_num, d->field->len, sizeof(struct upb_fieldsbynum_entry)); |