mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Remove @(warning) and #warning(...)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user