Remove code from parser that was awaiting snapshot
Remove old parser functions as well as support for old-style capture clauses. Remove remaining old-style capture clauses.
This commit is contained in:
parent
bc507c4ef5
commit
39d9c30a15
8 changed files with 9 additions and 69 deletions
|
@ -59,7 +59,7 @@ fn expand_include(cx: ext_ctxt, sp: span, arg: ast::mac_arg,
|
|||
let p = parse::new_parser_from_file(cx.parse_sess(), cx.cfg(),
|
||||
res_rel_file(cx, sp, file),
|
||||
parse::parser::SOURCE_FILE);
|
||||
ret parse::parser::parse_expr(p)
|
||||
ret p.parse_expr();
|
||||
}
|
||||
|
||||
fn expand_include_str(cx: ext_ctxt, sp: codemap::span, arg: ast::mac_arg,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue