diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-01-15 18:12:28 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-01-15 18:12:28 -0800 |
commit | 9116c697f845e7ca215628029800c36f7dfbfaee (patch) | |
tree | f5f416d54f9fb1034abc40022855dbc2fbec61a7 /tools/upbc.c | |
parent | 57d6353a3c225cbfa523d7f15cef2691e8806741 (diff) |
upb_parser -> upb_decoder
Diffstat (limited to 'tools/upbc.c')
-rw-r--r-- | tools/upbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upbc.c b/tools/upbc.c index 1341800..9fbf3d0 100644 --- a/tools/upbc.c +++ b/tools/upbc.c @@ -673,7 +673,7 @@ int main(int argc, char *argv[]) struct upb_symtab *s = upb_symtab_new(); upb_msg *fds_msg = upb_msg_new(s->fds_msgdef); struct upb_status status = UPB_STATUS_INIT; - upb_msg_parsestr(fds_msg, s->fds_msgdef, descriptor, &status); + upb_msg_decodestr(fds_msg, s->fds_msgdef, descriptor, &status); if(!upb_ok(&status)) error("Failed to parse input file descriptor: %s", status.msg); google_protobuf_FileDescriptorSet *fds = (void*)fds_msg; |