syntax: Rename 'module' extension to 'module_path'

This commit is contained in:
Brian Anderson 2012-07-31 16:53:14 -07:00
parent 2cfe8fb357
commit 7d18369804
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ fn builtin_item_tt(f: syntax_expander_tt_item_) -> syntax_extension {
builtin(ext::source_util::expand_include_str));
syntax_expanders.insert(~"include_bin",
builtin(ext::source_util::expand_include_bin));
syntax_expanders.insert(~"module",
syntax_expanders.insert(~"module_path",
builtin(ext::source_util::expand_mod));
syntax_expanders.insert(~"proto",
builtin_item_tt(ext::pipes::expand_proto));

View File

@ -3,7 +3,7 @@
mod m1 {
mod m2 {
fn where_am_i() -> ~str { module!{} }
fn where_am_i() -> ~str { module_path!{} }
}
}