Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Sync with rust HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed May 1, 2015
1 parent 60ea73b commit edc9390
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 261 deletions.
2 changes: 0 additions & 2 deletions quasi_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,12 +451,10 @@ fn statements_mk_tt(tt: &ast::TokenTree, matcher: bool) -> Vec<P<ast::Stmt>> {
let builder = builder.clone().span(sp);

let e_sp = builder.expr().id("_sp");
//let e_sp = cx.expr_ident(sp, id_ext("_sp"));

let stmt_let_tt = builder.stmt().let_()
.mut_id("tt")
.expr().vec().build();
//let stmt_let_tt = cx.stmt_let(sp, true, id_ext("tt"), cx.expr_vec_ng(sp));

let mut tts_stmts = vec![stmt_let_tt];
tts_stmts.extend(statements_mk_tts(&seq.tts[..], matcher).into_iter());
Expand Down
Loading

0 comments on commit edc9390

Please sign in to comment.