Skip to content

Commit 92888b8

Browse files
committed
---
yaml --- r: 79445 b: refs/heads/snap-stage3 c: e1734f6 h: refs/heads/master i: 79443: daca4fe v: v3
1 parent d5c6878 commit 92888b8

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 124eb2119c78651cfaaa7a046a101fa2e20f83ca
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: acad9f35b3aef8cc0d82c6a43c662ddc0f946568
4+
refs/heads/snap-stage3: e1734f6d38a84bea8a4fd3a8a5ed09ae2666cf14
55
refs/heads/try: ac820906c0e53eab79a98ee64f7231f57c3887b4
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libsyntax/ast_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ fn idx_push<T>(vec: &mut ~[T], val: T) -> uint {
915915
}
916916
917917
/// Resolve a syntax object to a name, per MTWT.
918-
pub fn resolve(id : Ident) -> Name {
918+
pub fn mtwt_resolve(id : Ident) -> Name {
919919
resolve_internal(id, get_sctable())
920920
}
921921

branches/snap-stage3/src/libsyntax/ext/expand.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use ast::{Block, Crate, NodeId, Expr_, ExprMac, Ident, mac_invoc_tt};
1212
use ast::{item_mac, Stmt_, StmtMac, StmtExpr, StmtSemi};
1313
use ast::{ILLEGAL_CTXT};
1414
use ast;
15-
use ast_util::{new_rename, new_mark, resolve};
15+
use ast_util::{new_rename, new_mark, mtwt_resolve};
1616
use attr;
1717
use attr::AttrMetaMethods;
1818
use codemap;
@@ -1218,12 +1218,11 @@ pub fn new_ident_resolver() ->
12181218
@fn(ast::Ident)->ast::Ident {
12191219
|id : ast::Ident|
12201220
ast::Ident {
1221-
name : resolve(id),
1221+
name : mtwt_resolve(id),
12221222
ctxt : ILLEGAL_CTXT
12231223
}
12241224
}
12251225

1226-
12271226
#[cfg(test)]
12281227
mod test {
12291228
use super::*;

0 commit comments

Comments
 (0)