about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-01-17 10:57:11 -0800
committerNiko Matsakis <niko@alum.mit.edu>2012-02-01 18:18:07 -0800
commitc36207bfb82f794f17fc5854d4ae50284eddf329 (patch)
tree01c3878cd9fea6364d8659da36fae42c2b69cfc8 /src/comp/syntax/parse
parent49cb3fc7dfd2a8ee7f35aaa884da8f710cd4a94a (diff)
downloadrust-c36207bfb82f794f17fc5854d4ae50284eddf329.tar.gz
rust-c36207bfb82f794f17fc5854d4ae50284eddf329.zip
make boxes self-describing (fixes #1493)
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/parser.rs2
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};
 }