mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-26 17:30:02 +00:00
Update code from OSX merge to be consistent with the rest of the code
Remove some dead code whilst I was here too :P
This commit is contained in:
@@ -3230,8 +3230,13 @@ AstNode *parse_stmt(AstFile *f) {
|
||||
}
|
||||
if (e->kind == AstNode_Ident) {
|
||||
return make_using_stmt(f, token, node);
|
||||
} else if (e->kind == AstNode_Implicit) {
|
||||
syntax_error(token, "Illegal use of `using` statement with implicit value `%.*s`", LIT(e->Implicit.string));
|
||||
return make_bad_stmt(f, token, f->curr_token);
|
||||
}
|
||||
} break;
|
||||
|
||||
|
||||
}
|
||||
|
||||
syntax_error(token, "Illegal use of `using` statement");
|
||||
|
||||
Reference in New Issue
Block a user