1
Fork 0

rustc: Remove the meta keyword

Issue #487
This commit is contained in:
Brian Anderson 2011-06-18 17:17:54 -07:00
parent f58de2d687
commit ddbb31eb8e
6 changed files with 1 additions and 34 deletions

View file

@ -2320,13 +2320,6 @@ fn parse_crate_directive(&parser p) -> ast::crate_directive {
auto hi = p.get_hi_pos();
expect(p, token::SEMI);
ret spanned(lo, hi, ast::cdir_auth(n, a));
} else if (eat_word(p, "meta")) {
auto mv = ast::local_meta;
if (eat_word(p, "export")) { mv = ast::export_meta; }
auto mis = parse_meta(p);
auto hi = p.get_hi_pos();
expect(p, token::SEMI);
ret spanned(lo, hi, ast::cdir_meta(mv, mis));
} else if (eat_word(p, "mod")) {
auto id = parse_ident(p);
auto file_opt =