summary refs log tree commit diff
path: root/src/libsyntax/ext/quote.rs
diff options
context:
space:
mode:
authorOGINO Masanori <masanori.ogino@gmail.com>2013-08-02 00:34:59 +0900
committerOGINO Masanori <masanori.ogino@gmail.com>2013-08-02 09:12:05 +0900
commit09efc4e855c2aa4144936af987d4fdde6705a34f (patch)
tree368b18f038b876fdda33b94a1438729e2b843552 /src/libsyntax/ext/quote.rs
parenteb5743bfb2f634d2f5c8ef484a04e63d1a24cef6 (diff)
downloadrust-09efc4e855c2aa4144936af987d4fdde6705a34f.tar.gz
rust-09efc4e855c2aa4144936af987d4fdde6705a34f.zip
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 <masanori.ogino@gmail.com>
Diffstat (limited to 'src/libsyntax/ext/quote.rs')
-rw-r--r--src/libsyntax/ext/quote.rs10
1 files changed, 5 insertions, 5 deletions
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,