diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-07 21:43:34 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-07 21:43:34 -0500 |
commit | 5f3c455003272bfca6769afcaaade1ca365038d9 (patch) | |
tree | 292a149deef3761f769aa47b2d704403544bee7a /package.c | |
parent | 0bd0b45ae59e559d88bdc908b8bab8401eb41a30 (diff) |
formatting (emacs doesnt like my tabs)
Diffstat (limited to 'package.c')
-rw-r--r-- | package.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -160,7 +160,7 @@ static bool export_type(Exporter *ex, Type *type, Location where) { case TYPE_STRUCT: { StructDef *struc = type->struc; if (struc->export.id == 0) { - StructDef **ptr = arr_add(&ex->exported_structs); + StructDef **ptr = arr_add(&ex->exported_structs); *ptr = struc; size_t nexported_structs = arr_len(ex->exported_structs); if (nexported_structs > U32_MAX) { @@ -268,7 +268,7 @@ static bool export_val_ptr(Exporter *ex, void *val, Type *type, Location where) case TYPE_UNKNOWN: case TYPE_EXPR: assert(0); - return false; + return false; } return true; } @@ -325,7 +325,7 @@ static bool export_expr(Exporter *ex, Expression *e) { assert(e->c.code->kind == EXPR_VAL); if (!export_val(ex, e->c.code->val, &e->c.code->type, e->where)) return false; - break; + break; case EXPR_IDENT: export_ident(ex, e->ident); break; |