Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change "file" of injected string from "-" to "<anon>", less confusing
that way.
  • Loading branch information
kevina authored and brson committed Jan 24, 2012
1 parent 1625a43 commit 355edf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comp/syntax/ext/expand.rs
Expand Up @@ -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);

Expand Down

0 comments on commit 355edf1

Please sign in to comment.