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:
Ginger Bill
2017-02-01 20:59:14 +00:00
parent c6133587d1
commit 205f4664f8
15 changed files with 162 additions and 249 deletions
+5
View File
@@ -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");