about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/token.rs2
1 files changed, 1 insertions, 1 deletions
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 }