make boxes self-describing (fixes #1493)" (take 2)

this will be used to generate a new snapshot.
This commit is contained in:
Niko Matsakis 2012-02-01 18:52:08 -08:00
parent 3116643806
commit 196d69beb2
26 changed files with 582 additions and 596 deletions

View file

@ -1928,6 +1928,7 @@ fn parse_mod_items(p: parser, term: token::token,
while p.token != term {
let attrs = initial_attrs + parse_outer_attributes(p);
initial_attrs = [];
#debug["parse_mod_items: parse_item(attrs=%?)", attrs];
alt parse_item(p, attrs) {
some(i) { items += [i]; }
_ {
@ -1935,6 +1936,7 @@ fn parse_mod_items(p: parser, term: token::token,
token::to_str(p.reader, p.token) + "'");
}
}
#debug["parse_mod_items: attrs=%?", attrs];
}
ret {view_items: view_items, items: items};
}