diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-02-01 18:52:08 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-02-01 18:52:08 -0800 |
| commit | 196d69beb2c91b29013d44d7a3855561fef600ab (patch) | |
| tree | 01c3878cd9fea6364d8659da36fae42c2b69cfc8 /src/comp/syntax/parse/parser.rs | |
| parent | 31166438063236e6d2ad021cf2169fce2b3839b4 (diff) | |
| download | rust-196d69beb2c91b29013d44d7a3855561fef600ab.tar.gz rust-196d69beb2c91b29013d44d7a3855561fef600ab.zip | |
make boxes self-describing (fixes #1493)" (take 2)
this will be used to generate a new snapshot.
Diffstat (limited to 'src/comp/syntax/parse/parser.rs')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 35c0bce9a4b..4a7b25f7c08 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -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}; } |
