diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-07-02 18:31:32 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-07-02 18:31:32 -0700 |
commit | b8481e0e55aebad1d9ffa0f3845609f929bca02f (patch) | |
tree | 420b38e6e44abc8e8fed9f692d05df8a7e115256 /upb_context.h | |
parent | 6fdf83f59ffc24ed074a93e61efa09fcaee805fa (diff) |
A bit more work on generalizing parsing.
Diffstat (limited to 'upb_context.h')
-rw-r--r-- | upb_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upb_context.h b/upb_context.h index e15b4b8..cd62e30 100644 --- a/upb_context.h +++ b/upb_context.h @@ -70,8 +70,8 @@ INLINE struct upb_symtab_entry *upb_context_symbegin(struct upb_context *c) { } INLINE struct upb_symtab_entry *upb_context_symnext( - struct upb_context *c, struct upb_inttable_entry *cur) { - return upb_strtable_next(&c->symtab, cur); + struct upb_context *c, struct upb_symtab_entry *cur) { + return upb_strtable_next(&c->symtab, &cur->e); } /* Adding symbols. ************************************************************/ |