diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-08-26 15:15:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-26 15:15:40 -0700 |
commit | 2c869197700f5fd120dfbbb958ea460bc0dd4fef (patch) | |
tree | 51b04db09b05da7b4b070f865f5359703cf80455 /upb/def.c | |
parent | d3762e96cb8910b8281419faee7bd70b323c753d (diff) | |
parent | 509f1e474fabd3961a4c83165ab8b9d02b508042 (diff) |
Merge pull request #208 from haberman/bool_bugfix
Bugfix for boolean defaults.
Diffstat (limited to 'upb/def.c')
-rw-r--r-- | upb/def.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1029,6 +1029,7 @@ static bool parse_default(const symtab_addctx *ctx, const char *str, size_t len, } else { return false; } + break; } case UPB_TYPE_STRING: f->defaultval.str = newstr(ctx->alloc, str, len); |