Change "file" of injected string from "-" to "<anon>", less confusing

that way.
This commit is contained in:
Kevin Atkinson 2012-01-21 02:22:54 -07:00 committed by Brian Anderson
parent 1625a4320d
commit 355edf13e7

View File

@ -70,7 +70,7 @@ fn expand_crate(sess: session::session, c: @crate) -> @crate {
{fold_expr: bind expand_expr(exts, cx, _, _, afp.fold_expr)
with *afp};
let f = make_fold(f_pre);
let cm = parse_expr_from_source_str("-", core_macros(),
let cm = parse_expr_from_source_str("<anon>", core_macros(),
sess.opts.cfg,
sess.parse_sess);