diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-29 15:09:20 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-02-04 15:18:53 -0800 |
| commit | 4e45d7111c73f348153177ee4a1a988f3d95306d (patch) | |
| tree | 47637467d9c3212ab4838a668da190fb1cb5a1de /src/libsyntax | |
| parent | e22aa029fb4d923dc03748b435abd6330933b473 (diff) | |
| download | rust-4e45d7111c73f348153177ee4a1a988f3d95306d.tar.gz rust-4e45d7111c73f348153177ee4a1a988f3d95306d.zip | |
syntax: Make the pipe compiler stop generating set_buffer_ calls
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/pipes/pipec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/pipes/pipec.rs b/src/libsyntax/ext/pipes/pipec.rs index 4bf59d9c627..eec9c6eceaf 100644 --- a/src/libsyntax/ext/pipes/pipec.rs +++ b/src/libsyntax/ext/pipes/pipec.rs @@ -368,7 +368,7 @@ pub impl protocol: gen_init { ext_cx.block( self.states.map_to_vec( |s| ext_cx.parse_stmt( - fmt!("data.%s.set_buffer_(buffer)", + fmt!("data.%s.set_buffer(buffer)", s.name))), ext_cx.parse_expr( fmt!("::ptr::addr_of(&(data.%s))", @@ -395,7 +395,7 @@ pub impl protocol: gen_init { ext_cx.block( self.states.map_to_vec( |s| ext_cx.parse_stmt( - fmt!("data.%s.set_buffer_(buffer)", + fmt!("data.%s.set_buffer(buffer)", s.name))), ext_cx.parse_expr( fmt!("::ptr::addr_of(&(data.%s))", |
