mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-01 10:52:19 +00:00
Rename free to delete for non pointer types
This commit is contained in:
@@ -4292,7 +4292,7 @@ bool parse_file(Parser *p, AstFile *f) {
|
||||
CommentGroup *docs = f->lead_comment;
|
||||
|
||||
f->package_token = expect_token(f, Token_package);
|
||||
if (f->error_count > 0) {
|
||||
if (f->package_token.kind != Token_package) {
|
||||
return false;
|
||||
}
|
||||
Token package_name = expect_token_after(f, Token_Ident, "package");
|
||||
|
||||
Reference in New Issue
Block a user