libsyntax: Remove struct literal expressions from the compiler

This commit is contained in:
Patrick Walton
2013-03-05 18:22:13 -08:00
parent 4e3dbfe052
commit 954ae9c975
19 changed files with 24 additions and 143 deletions

View File

@@ -32,7 +32,10 @@ pub fn expand_syntax_ext(cx: ext_ctxt,
MRExpr(@ast::expr {
id: cx.next_id(),
callee_id: cx.next_id(),
node: ast::expr_rec(~[], option::None),
node: ast::expr_lit(@codemap::spanned {
node: ast::lit_nil,
span: sp
}),
span: sp,
})
}