1
Fork 0

Update pretty printer for ports, channels, send and receive

This commit is contained in:
Brian Anderson 2011-03-24 23:03:12 -04:00 committed by Graydon Hoare
parent ebc4df3c7a
commit 9ca7acb1f3
2 changed files with 35 additions and 1 deletions

View file

@ -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; }