From 196d69beb2c91b29013d44d7a3855561fef600ab Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 1 Feb 2012 18:52:08 -0800 Subject: make boxes self-describing (fixes #1493)" (take 2) this will be used to generate a new snapshot. --- src/comp/syntax/parse/parser.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/comp/syntax/parse') 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}; } -- cgit 1.4.1-3-g733a5