Change "pred" to "pure fn" within the compiler.
This commit is contained in:
parent
2e89edab1d
commit
1cb85015c3
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ fn binop_to_str(op: binop) -> str {
|
|||
}
|
||||
}
|
||||
|
||||
pred lazy_binop(b: binop) -> bool {
|
||||
pure fn lazy_binop(b: binop) -> bool {
|
||||
alt b { and. { true } or. { true } _ { false } }
|
||||
}
|
||||
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue