mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix of incorrect error recovery leading to confusing errors #1080
This commit is contained in:
committed by
Christoffer Lerno
parent
3255183ee4
commit
0d1eab5c15
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user