Remove '.' after nullary tags in patterns
Does what it says on the tin. The next commit will remove support for this syntax.
This commit is contained in:
parent
ca7cfbe3d0
commit
04a2887f87
96 changed files with 1410 additions and 1410 deletions
|
|
@ -73,8 +73,8 @@ fn has_nonlocal_exits(b: ast::blk) -> bool {
|
|||
let has_exits = @mutable false;
|
||||
fn visit_expr(flag: @mutable bool, e: @ast::expr) {
|
||||
alt e.node {
|
||||
ast::expr_break. { *flag = true; }
|
||||
ast::expr_cont. { *flag = true; }
|
||||
ast::expr_break { *flag = true; }
|
||||
ast::expr_cont { *flag = true; }
|
||||
_ { }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue