Skip to content

Commit db4f131

Browse files
committed
---
yaml --- r: 3414 b: refs/heads/master c: a7c4c19 h: refs/heads/master v: v3
1 parent b353bcb commit db4f131

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
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: d5fc01caefed33c9633e8d26f4901f3e34a21f48
2+
refs/heads/master: a7c4c19d4bea6d84f63709218146f7be76d5c9f2

trunk/src/comp/front/ast.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,14 @@ fn binop_to_str(binop op) -> str {
173173
}
174174
}
175175
176+
pred lazy_binop(binop b) -> bool {
177+
alt (b) {
178+
case (and) { true }
179+
case (or) { true }
180+
case (_) { false }
181+
}
182+
}
183+
176184
tag unop { box(mutability); deref; not; neg; }
177185
178186
fn unop_to_str(unop op) -> str {

0 commit comments

Comments
 (0)