Register new snapshots
This commit is contained in:
parent
859c3baf64
commit
ab387a6838
182 changed files with 1287 additions and 1334 deletions
|
@ -128,13 +128,13 @@ pub fn expand_include_bin(cx: @ExtCtxt, sp: Span, tts: &[ast::token_tree])
|
|||
// recur along an ExpnInfo chain to find the original expression
|
||||
fn topmost_expn_info(expn_info: @codemap::ExpnInfo) -> @codemap::ExpnInfo {
|
||||
match *expn_info {
|
||||
ExpnInfo { call_site: ref call_site, _ } => {
|
||||
ExpnInfo { call_site: ref call_site, .. } => {
|
||||
match call_site.expn_info {
|
||||
Some(next_expn_info) => {
|
||||
match *next_expn_info {
|
||||
ExpnInfo {
|
||||
callee: NameAndSpan { name: ref name, _ },
|
||||
_
|
||||
callee: NameAndSpan { name: ref name, .. },
|
||||
..
|
||||
} => {
|
||||
// Don't recurse into file using "include!"
|
||||
if "include" == *name {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue