diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-06-30 00:22:38 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-06-30 10:06:26 -0700 |
| commit | 1f0c25406c8842dcb4c3832b14388dca3ccf35c8 (patch) | |
| tree | 00dd384f4de952071cc48b11f203d83b01687819 /src | |
| parent | 5de916dd5c4f65e3cdb86e32280b7a08401e8b92 (diff) | |
| download | rust-1f0c25406c8842dcb4c3832b14388dca3ccf35c8.tar.gz rust-1f0c25406c8842dcb4c3832b14388dca3ccf35c8.zip | |
Fold the crate-level module in front::fold
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp/front/fold.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/front/fold.rs b/src/comp/front/fold.rs index ec3a626a01e..c9c2855d08c 100644 --- a/src/comp/front/fold.rs +++ b/src/comp/front/fold.rs @@ -131,7 +131,8 @@ fn noop_fold_crate(&crate_ c, ast_fold fld) -> crate_ { auto fold_attribute = bind fold_attribute_(_,fold_meta_item); ret rec(directives=map(fld.fold_crate_directive, c.directives), - module=c.module, attrs=map(fold_attribute, c.attrs), + module=fld.fold_mod(c.module), + attrs=map(fold_attribute, c.attrs), config=map(fold_meta_item, c.config)); } |
