diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-21 21:44:41 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-22 10:44:04 -0700 |
| commit | 152cbaade7bc2ec36546554eb2d2090a9833bfff (patch) | |
| tree | d6bb39fcdcce9f67cc97f97a6259e85cbf315650 /src/comp/metadata/decoder.rs | |
| parent | a3affaa20fcd718080951d5be2da3f578c960664 (diff) | |
| download | rust-152cbaade7bc2ec36546554eb2d2090a9833bfff.tar.gz rust-152cbaade7bc2ec36546554eb2d2090a9833bfff.zip | |
Move functions from syntax::ast to syntax::ast_util
This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer
Diffstat (limited to 'src/comp/metadata/decoder.rs')
| -rw-r--r-- | src/comp/metadata/decoder.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/metadata/decoder.rs b/src/comp/metadata/decoder.rs index 972334ddfc7..fc2f3a00a9b 100644 --- a/src/comp/metadata/decoder.rs +++ b/src/comp/metadata/decoder.rs @@ -7,6 +7,7 @@ import std::str; import std::io; import std::map::hashmap; import syntax::ast; +import syntax::ast_util; import front::attr; import middle::ty; import common::*; @@ -335,7 +336,7 @@ fn get_attributes(md: &ebml::doc) -> [ast::attribute] { let meta_item = meta_items[0]; attrs += [{node: {style: ast::attr_outer, value: *meta_item}, - span: ast::dummy_sp()}]; + span: ast_util::dummy_sp()}]; } } option::none. { } |
