Skip to content

Commit b67ad48

Browse files
committed
---
yaml --- r: 3341 b: refs/heads/master c: c772269 h: refs/heads/master i: 3339: f231e5f v: v3
1 parent e53f1a7 commit b67ad48

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-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: 582e1f13f068dd85411405672e29ead829238fbc
2+
refs/heads/master: c772269f08c1ad1467f282d3c95e72b579aecf80

trunk/src/comp/front/parser.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,8 @@ fn stmt_ends_with_semi(&ast::stmt stmt) -> bool {
15481548
case (ast::expr_rec(_, _)) { true }
15491549
case (ast::expr_call(_, _)) { true }
15501550
case (ast::expr_self_method(_)) { false }
1551+
case (ast::expr_bind(_, _)) { true }
1552+
case (ast::expr_spawn(_, _, _, _)) { true }
15511553
case (ast::expr_binary(_, _, _)) { true }
15521554
case (ast::expr_unary(_, _)) { true }
15531555
case (ast::expr_lit(_)) { true }
@@ -1570,6 +1572,7 @@ fn stmt_ends_with_semi(&ast::stmt stmt) -> bool {
15701572
case (ast::expr_field(_, _)) { true }
15711573
case (ast::expr_index(_, _)) { true }
15721574
case (ast::expr_path(_)) { true }
1575+
case (ast::expr_ext(_, _, _, _)) { true }
15731576
case (ast::expr_fail(_)) { true }
15741577
case (ast::expr_break) { true }
15751578
case (ast::expr_cont) { true }
@@ -1578,6 +1581,10 @@ fn stmt_ends_with_semi(&ast::stmt stmt) -> bool {
15781581
case (ast::expr_be(_)) { true }
15791582
case (ast::expr_log(_, _)) { true }
15801583
case (ast::expr_check(_)) { true }
1584+
case (ast::expr_if_check(_, _, _)) { false }
1585+
case (ast::expr_port) { true }
1586+
case (ast::expr_chan(_)) { true }
1587+
case (ast::expr_anon_obj(_,_,_)) { false }
15811588
case (ast::expr_assert(_)) { true }
15821589
}
15831590
}

0 commit comments

Comments
 (0)