Skip to content

Commit 6ed9397

Browse files
committed
---
yaml --- r: 5708 b: refs/heads/master c: 6a42705 h: refs/heads/master v: v3
1 parent 89faa1c commit 6ed9397

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
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: 39b468e17a4977f0be82f47880a32b99842853fa
2+
refs/heads/master: 6a4270523e785c4976dd46f82e3a90375cac746d

trunk/src/comp/syntax/parse/parser.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,13 @@ fn parse_arg_mode(p: parser) -> ast::mode {
591591
ret ast::by_mut_ref;
592592
} else if eat(p, token::BINOP(token::MINUS)) {
593593
ret ast::by_move;
594-
} else { ret ast::by_ref; }
594+
} else {
595+
// FIXME Temporarily ignore these, to make it possible to implement
596+
// them without breaking the stage0 build.
597+
eat(p, token::ANDAND);
598+
eat(p, token::BINOP(token::PLUS));
599+
ret ast::by_ref;
600+
}
595601
}
596602

597603
fn parse_arg(p: parser) -> ast::arg {

0 commit comments

Comments
 (0)