Skip to content

Commit f35edc9

Browse files
committed
---
yaml --- r: 79217 b: refs/heads/auto c: e1734f6 h: refs/heads/master i: 79215: 481a558 v: v3
1 parent c3454af commit f35edc9

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
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: acad9f35b3aef8cc0d82c6a43c662ddc0f946568
16+
refs/heads/auto: e1734f6d38a84bea8a4fd3a8a5ed09ae2666cf14
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/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/auto/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)