diff options
| author | John Clements <clements@racket-lang.org> | 2013-02-09 13:25:47 -0800 |
|---|---|---|
| committer | John Clements <clements@racket-lang.org> | 2013-02-13 15:08:27 -0800 |
| commit | 17d3a55362eb6a0b900d1d828e90d583897fa3b1 (patch) | |
| tree | b6b1de5dc0c6f54b1805ec41a0df5b4be4c5d76d /src/libsyntax | |
| parent | 25c4676dfa805e027564116b9c37fee7aeaf1cc4 (diff) | |
| download | rust-17d3a55362eb6a0b900d1d828e90d583897fa3b1.tar.gz rust-17d3a55362eb6a0b900d1d828e90d583897fa3b1.zip | |
@mut fix
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/tt/transcribe.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/ext/tt/transcribe.rs b/src/libsyntax/ext/tt/transcribe.rs index 75120e9c0bc..aa9036d295e 100644 --- a/src/libsyntax/ext/tt/transcribe.rs +++ b/src/libsyntax/ext/tt/transcribe.rs @@ -121,15 +121,15 @@ pure fn lookup_cur_matched_by_matched(r: @mut TtReader, vec::foldl(start, r.repeat_idx, red) } -fn lookup_cur_matched(r: &TtReader, name: ident) -> @named_match { +fn lookup_cur_matched(r: @mut TtReader, name: ident) -> @named_match { lookup_cur_matched_by_matched(r, r.interpolations.get(&name)) } enum lis { lis_unconstrained, lis_constraint(uint, ident), lis_contradiction(~str) } -fn lockstep_iter_size(t: token_tree, r: &TtReader) -> lis { - fn lis_merge(lhs: lis, rhs: lis, r: &TtReader) -> lis { +fn lockstep_iter_size(t: token_tree, r: @mut TtReader) -> lis { + fn lis_merge(lhs: lis, rhs: lis, r: @mut TtReader) -> lis { match lhs { lis_unconstrained => rhs, lis_contradiction(_) => lhs, |
