From 9ca7acb1f3455f76a7991ce675a46aaa228aa497 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 24 Mar 2011 23:03:12 -0400 Subject: Update pretty printer for ports, channels, send and receive --- src/comp/front/parser.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/comp/front/parser.rs') 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; } -- cgit v1.2.3