about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-08-25 22:26:45 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-08-25 22:26:45 -0700
commitb099760269ecf7920eed99919ff6bdbd341ecf95 (patch)
tree30b0a452380ba2b068e382ac28d7dba1e492bf3b /src/comp/syntax/parse
parent63f9b43d36fe9d95d36c3d541c66df04c7c11618 (diff)
downloadrust-b099760269ecf7920eed99919ff6bdbd341ecf95.tar.gz
rust-b099760269ecf7920eed99919ff6bdbd341ecf95.zip
Remove remaining use of 'pred' and make 'pred' a non-reserved word. Huzzah\!
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/parser.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs
index 10b1b01b44f..8ee2645fe5d 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -173,7 +173,6 @@ fn bad_expr_word_table() -> hashmap<str, ()> {
     words.insert("fn", ());
     words.insert("block", ());
     words.insert("lambda", ());
-    words.insert("pred", ()); // FIXME: remove
     words.insert("pure", ());
     words.insert("iter", ());
     words.insert("block", ());
@@ -2135,11 +2134,6 @@ fn parse_item(p: &parser, attrs: &[ast::attribute]) -> option::t<@ast::item> {
         expect_word(p, "fn");
         ret some(parse_item_fn_or_iter(p, ast::pure_fn, ast::proto_fn, attrs,
                                        ast::il_normal));
-    }
-    // FIXME: remove
-    else if eat_word(p, "pred") {
-        ret some(parse_item_fn_or_iter(p, ast::pure_fn, ast::proto_fn, attrs,
-                                       ast::il_normal));
     } else if eat_word(p, "iter") {
         ret some(parse_item_fn_or_iter(p, ast::impure_fn, ast::proto_iter,
                                        attrs, ast::il_normal));