From 0d1eab5c15cd61ec633bebe10ec5fb3e0ed425cf Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Wed, 22 Nov 2023 16:13:15 +0100 Subject: [PATCH] Fix of incorrect error recovery leading to confusing errors #1080 --- src/compiler/parse_global.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/parse_global.c b/src/compiler/parse_global.c index 4679f833c..7dcf9c745 100644 --- a/src/compiler/parse_global.c +++ b/src/compiler/parse_global.c @@ -48,7 +48,6 @@ void recover_top_level(ParseContext *c) case TOKEN_DEF: case TOKEN_FAULT: return; - case TOKEN_IDENT: // Incr arrays only case TOKEN_CONST: case TOKEN_ASM: case TOKEN_CT_ASSERT: