make boxes self-describing (fixes #1493)" (take 2)
this will be used to generate a new snapshot.
This commit is contained in:
parent
3116643806
commit
196d69beb2
26 changed files with 582 additions and 596 deletions
|
@ -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};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue