Remove switch in in favour of switch _ in

This commit is contained in:
gingerBill
2023-08-08 14:57:25 +01:00
parent 49ab935ae9
commit cd74cdfdaf
6 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -1091,7 +1091,7 @@ parse_attribute :: proc(p: ^Parser, tok: tokenizer.Token, open_kind, close_kind:
parse_foreign_block_decl :: proc(p: ^Parser) -> ^ast.Stmt {
decl := parse_stmt(p)
#partial switch in decl.derived_stmt {
#partial switch _ in decl.derived_stmt {
case ^ast.Empty_Stmt, ^ast.Bad_Stmt, ^ast.Bad_Decl:
// Ignore
return nil