aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/parser.rs
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-03-24 23:03:12 -0400
committerGraydon Hoare <[email protected]>2011-03-25 11:01:52 -0700
commit9ca7acb1f3455f76a7991ce675a46aaa228aa497 (patch)
tree8dcb26a54f0701148882af0ee88213e4745c79fd /src/comp/front/parser.rs
parentImplement local declarations with receive. Un-XFAIL decl-with-recv.rs. (diff)
downloadrust-9ca7acb1f3455f76a7991ce675a46aaa228aa497.tar.xz
rust-9ca7acb1f3455f76a7991ce675a46aaa228aa497.zip
Update pretty printer for ports, channels, send and receive
Diffstat (limited to 'src/comp/front/parser.rs')
-rw-r--r--src/comp/front/parser.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs
index a903124d..80130ebf 100644
--- a/src/comp/front/parser.rs
+++ b/src/comp/front/parser.rs
@@ -1621,6 +1621,8 @@ fn stmt_ends_with_semi(@ast.stmt stmt) -> bool {
case (ast.expr_assign(_,_,_)) { ret true; }
case (ast.expr_assign_op(_,_,_,_))
{ ret true; }
+ case (ast.expr_send(_,_,_)) { ret true; }
+ case (ast.expr_recv(_,_,_)) { ret true; }
case (ast.expr_field(_,_,_)) { ret true; }
case (ast.expr_index(_,_,_)) { ret true; }
case (ast.expr_path(_,_,_)) { ret true; }