summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/parse.c b/parse.c
index 4972cb9..c4d8588 100644
--- a/parse.c
+++ b/parse.c
@@ -21,7 +21,7 @@ typedef enum {
} BuiltinType;
-typedef struct {
+typedef struct Type {
Location where;
TypeKind kind;
union {
@@ -275,7 +275,6 @@ static bool parse_block(Parser *p, Block *b) {
Statement *stmt = arr_add(&b->stmts);
if (!parse_stmt(p, stmt)) {
ret = false;
- continue;
}
if (token_is_kw(t->token, KW_RBRACE)) break;
if (t->token->kind == TOKEN_EOF) {