From 09efc4e855c2aa4144936af987d4fdde6705a34f Mon Sep 17 00:00:00 2001 From: OGINO Masanori Date: Fri, 2 Aug 2013 00:34:59 +0900 Subject: Replace 'blk' -> 'block' in AstBuilder. I didn't rename variables because they are local and are not parts of the public interfaces. Signed-off-by: OGINO Masanori --- src/libsyntax/ext/quote.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libsyntax/ext/quote.rs') diff --git a/src/libsyntax/ext/quote.rs b/src/libsyntax/ext/quote.rs index 4e7b0612e64..d5f032cd978 100644 --- a/src/libsyntax/ext/quote.rs +++ b/src/libsyntax/ext/quote.rs @@ -705,11 +705,11 @@ fn expand_tts(cx: @ExtCtxt, id_ext("tt"), cx.expr_vec_uniq(sp, ~[])); - cx.expr_blk( - cx.blk_all(sp, uses, - ~[stmt_let_sp, - stmt_let_tt] + mk_tts(cx, sp, tts), - Some(cx.expr_ident(sp, id_ext("tt"))))) + cx.expr_block( + cx.block_all(sp, uses, + ~[stmt_let_sp, + stmt_let_tt] + mk_tts(cx, sp, tts), + Some(cx.expr_ident(sp, id_ext("tt"))))) } fn expand_parse_call(cx: @ExtCtxt, -- cgit 1.4.1-3-g733a5