From 9116c697f845e7ca215628029800c36f7dfbfaee Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 15 Jan 2010 18:12:28 -0800 Subject: upb_parser -> upb_decoder --- tools/upbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/upbc.c') 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; -- cgit v1.2.3