Fix of incorrect error recovery leading to confusing errors #1080

This commit is contained in:
Christoffer Lerno
2023-11-22 16:13:15 +01:00
committed by Christoffer Lerno
parent 3255183ee4
commit 0d1eab5c15

View File

@@ -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: