diff options
| author | gingerBill <bill@gingerbill.org> | 2024-06-25 09:36:59 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-06-25 09:36:59 +0100 |
| commit | c0987394840d63fae627c1623ea2661c31adc9b9 (patch) | |
| tree | 8dbd46c1512fd072481d10096dfa7b6082ff79f3 /src/parser.cpp | |
| parent | e42029c5ed8543f65077bd92e0db88aa4c68c5a4 (diff) | |
Remove `@(warning)` and `#warning(...)`
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 7383c3360..0cd96f5b5 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -5167,7 +5167,7 @@ gb_internal Ast *parse_stmt(AstFile *f) { break; } return s; - } else if (tag == "assert" || tag == "panic" || tag == "warning") { + } else if (tag == "assert" || tag == "panic") { Ast *t = ast_basic_directive(f, hash_token, name); Ast *stmt = ast_expr_stmt(f, parse_call_expr(f, t)); expect_semicolon(f); |