diff options
| author | bors <bors@rust-lang.org> | 2013-08-11 14:17:09 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-11 14:17:09 -0700 |
| commit | b285f1e6c90332188bb720bf320c507fc4156fdc (patch) | |
| tree | b1b5657b028f7a1c5253ae3bc8d87b806e464a6e /src/libsyntax/ext/tt/macro_parser.rs | |
| parent | 63c62bea3ac2782ae421d5bd211f2e7393bad7a2 (diff) | |
| parent | 7343478d67ba3eb0c62dcc37db65d82d12b8e140 (diff) | |
| download | rust-b285f1e6c90332188bb720bf320c507fc4156fdc.tar.gz rust-b285f1e6c90332188bb720bf320c507fc4156fdc.zip | |
auto merge of #8455 : nikomatsakis/rust/issue-5762-objects-dralston-d, r=graydon
Fix #5762 and various other aspects of object invocation. r? @graydon
Diffstat (limited to 'src/libsyntax/ext/tt/macro_parser.rs')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index 29963a7b461..c208a7f7e3e 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -224,7 +224,7 @@ pub enum parse_result { pub fn parse_or_else( sess: @mut ParseSess, cfg: ast::CrateConfig, - rdr: @reader, + rdr: @mut reader, ms: ~[matcher] ) -> HashMap<ident, @named_match> { match parse(sess, cfg, rdr, ms) { @@ -237,7 +237,7 @@ pub fn parse_or_else( pub fn parse( sess: @mut ParseSess, cfg: ast::CrateConfig, - rdr: @reader, + rdr: @mut reader, ms: &[matcher] ) -> parse_result { let mut cur_eis = ~[]; |
