aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-09-24 01:15:57 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-09-24 02:35:40 +0530
commit85f79290a67afb25369a9a48ee9a389ee32fd20e (patch)
tree24cd0f67de641a3bf2aed8601f2504dba06d69bb /components/script/lib.rs
parent3b7e07699e060887c1254228a7d8307da0ae0e14 (diff)
downloadservo-85f79290a67afb25369a9a48ee9a389ee32fd20e.tar.gz
servo-85f79290a67afb25369a9a48ee9a389ee32fd20e.zip
Add untraceable! macro
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 667bfb0e413..ab31bd5858e 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -45,7 +45,11 @@ extern crate uuid;
pub mod cors;
/// The implementation of the DOM.
+#[macro_escape]
pub mod dom {
+ #[macro_escape]
+ pub mod macros;
+
/// The code to expose the DOM to JavaScript through IDL bindings.
pub mod bindings {
pub mod global;
@@ -72,7 +76,6 @@ pub mod dom {
#[path="bindings/codegen/InterfaceTypes.rs"]
pub mod types;
- pub mod macros;
pub mod attr;
pub mod blob;