summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-01-15 18:12:28 -0800
committerJoshua Haberman <joshua@reverberate.org>2010-01-15 18:12:28 -0800
commit9116c697f845e7ca215628029800c36f7dfbfaee (patch)
treef5f416d54f9fb1034abc40022855dbc2fbec61a7 /tools
parent57d6353a3c225cbfa523d7f15cef2691e8806741 (diff)
upb_parser -> upb_decoder
Diffstat (limited to 'tools')
-rw-r--r--tools/upbc.c2
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;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback