Skip to content

Commit 355edf1

Browse files
kevinabrson
authored andcommitted
Change "file" of injected string from "-" to "<anon>", less confusing
that way.
1 parent 1625a43 commit 355edf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/syntax/ext/expand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fn expand_crate(sess: session::session, c: @crate) -> @crate {
7070
{fold_expr: bind expand_expr(exts, cx, _, _, afp.fold_expr)
7171
with *afp};
7272
let f = make_fold(f_pre);
73-
let cm = parse_expr_from_source_str("-", core_macros(),
73+
let cm = parse_expr_from_source_str("<anon>", core_macros(),
7474
sess.opts.cfg,
7575
sess.parse_sess);
7676

0 commit comments

Comments
 (0)