Skip to content

Commit cbe0194

Browse files
committed
---
yaml --- r: 4936 b: refs/heads/master c: 1cb8501 h: refs/heads/master v: v3
1 parent 8fed9ee commit cbe0194

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 2e89edab1d3efad55e85af242055a065c6e096ca
2+
refs/heads/master: 1cb85015c397cefa9de7653a98b7572ef511e0ef

trunk/src/comp/syntax/ast_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ fn binop_to_str(op: binop) -> str {
104104
}
105105
}
106106
107-
pred lazy_binop(b: binop) -> bool {
107+
pure fn lazy_binop(b: binop) -> bool {
108108
alt b { and. { true } or. { true } _ { false } }
109109
}
110110

trunk/src/comp/syntax/parse/token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ fn to_str(r: lexer::reader, t: token) -> str {
180180
}
181181

182182

183-
pred can_begin_expr(t: token) -> bool {
183+
pure fn can_begin_expr(t: token) -> bool {
184184
alt t {
185185
LPAREN. { true }
186186
LBRACE. { true }

0 commit comments

Comments
 (0)