diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 8130a1034a3..a6c32f99a72 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -679,7 +679,7 @@ fn mk_expr(lo: uint, hi: uint, +node: expr_) -> @expr { ret @{id: self.get_id(), node: node, span: mk_sp(lo, hi)}; } - fn mk_mac_expr(lo: uint, hi: uint, +m: mac_) -> @expr { + fn mk_mac_expr(lo: uint, hi: uint, m: mac_) -> @expr { ret @{id: self.get_id(), node: expr_mac({node: m, span: mk_sp(lo, hi)}), span: mk_sp(lo, hi)}; @@ -693,7 +693,7 @@ fn mk_lit_u32(i: u32) -> @expr { ret @{id: self.get_id(), node: expr_lit(lv_lit), span: span}; } - fn mk_pexpr(lo: uint, hi: uint, +node: expr_) -> pexpr { + fn mk_pexpr(lo: uint, hi: uint, node: expr_) -> pexpr { ret pexpr(self.mk_expr(lo, hi, node)); }