diff options
| author | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-07-16 19:11:28 +0000 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-07-17 17:12:35 +0000 |
| commit | 44575f708aed13f4260c6ce27b35ab102e5dd9f2 (patch) | |
| tree | bcc0dc2d006b4e573d27b616b294ef9b2fe335c9 /src/libsyntax | |
| parent | 76ed4456224f6bf7dc35dc72cc1c2cc93186285a (diff) | |
| download | rust-44575f708aed13f4260c6ce27b35ab102e5dd9f2.tar.gz rust-44575f708aed13f4260c6ce27b35ab102e5dd9f2.zip | |
Rename `mtwt` to `hygiene`
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/ext/hygiene.rs (renamed from src/libsyntax/ext/mtwt.rs) | 2 | ||||
| -rw-r--r-- | src/libsyntax/lib.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 1f716923a16..a8bb255fba4 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -19,7 +19,7 @@ pub use util::ThinVec; use syntax_pos::{mk_sp, Span, DUMMY_SP, ExpnId}; use codemap::{respan, Spanned}; use abi::Abi; -use ext::mtwt::SyntaxContext; +use ext::hygiene::SyntaxContext; use parse::token::{self, keywords, InternedString}; use print::pprust; use ptr::P; diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 767d1ddb8e2..18342f2e38c 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -11,7 +11,7 @@ use ast::{Block, Crate, Ident, Mac_, Name, PatKind}; use ast::{MacStmtStyle, Stmt, StmtKind, ItemKind}; use ast; -use ext::mtwt::Mark; +use ext::hygiene::Mark; use attr::{self, HasAttrs}; use attr::AttrMetaMethods; use codemap::{dummy_spanned, ExpnInfo, NameAndSpan, MacroBang, MacroAttribute}; diff --git a/src/libsyntax/ext/mtwt.rs b/src/libsyntax/ext/hygiene.rs index c4af4a1f85b..521930f69a9 100644 --- a/src/libsyntax/ext/mtwt.rs +++ b/src/libsyntax/ext/hygiene.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Machinery for hygienic macros, as described in the MTWT[1] paper. +//! Machinery for hygienic macros, inspired by the MTWT[1] paper. //! //! [1] Matthew Flatt, Ryan Culpepper, David Darais, and Robert Bruce Findler. //! 2012. *Macros that work together: Compile-time bindings, partial expansion, diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 8febf1c49ec..5ad17444188 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -127,7 +127,7 @@ pub mod ext { pub mod base; pub mod build; pub mod expand; - pub mod mtwt; + pub mod hygiene; pub mod quote; pub mod source_util; |
