From 1cb85015c397cefa9de7653a98b7572ef511e0ef Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Wed, 24 Aug 2011 13:41:50 -0700 Subject: Change "pred" to "pure fn" within the compiler. --- src/comp/syntax/parse/token.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/syntax/parse') diff --git a/src/comp/syntax/parse/token.rs b/src/comp/syntax/parse/token.rs index cf20e0a328e..7e93444e09b 100644 --- a/src/comp/syntax/parse/token.rs +++ b/src/comp/syntax/parse/token.rs @@ -180,7 +180,7 @@ fn to_str(r: lexer::reader, t: token) -> str { } -pred can_begin_expr(t: token) -> bool { +pure fn can_begin_expr(t: token) -> bool { alt t { LPAREN. { true } LBRACE. { true } -- cgit 1.4.1-3-g733a5