Remove @(warning) and #warning(...)

This commit is contained in:
gingerBill committed 2024-06-25 09:36:59 +01:00
1 parent e42029c5ed
commit c098739484
4 files changed
+2 -36

No files matched your search

+1 -1
View File
@@ -1438,7 +1438,7 @@ parse_stmt :: proc(p: ^Parser) -> ^ast.Stmt {
case: error(p, stmt.pos, "#partial can only be applied to a switch statement")
}
return stmt
case "assert", "panic", "warning":
case "assert", "panic":
bd := ast.new(ast.Basic_Directive, tok.pos, end_pos(tag))
bd.tok = tok
bd.name = name