about summary refs log tree commit diff
path: root/src/libsyntax/ast.rs
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-12-12 12:25:40 -0800
committerGraydon Hoare <graydon@mozilla.com>2012-12-12 15:02:47 -0800
commite24ae85025e40aa17915f6c604d89aefbca274bd (patch)
treee60ccfc313fc01636e698aca06f92d180bafbf9c /src/libsyntax/ast.rs
parent9cced55b93a14cdca9bb86ae99b22021fac8685f (diff)
downloadrust-e24ae85025e40aa17915f6c604d89aefbca274bd.tar.gz
rust-e24ae85025e40aa17915f6c604d89aefbca274bd.zip
syntax: remove most code handling old-style syntax extensions.
Diffstat (limited to 'src/libsyntax/ast.rs')
-rw-r--r--src/libsyntax/ast.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index b36555e01ef..160dc43a3b9 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -842,13 +842,7 @@ type mac_body = Option<mac_body_>;
 #[auto_serialize]
 #[auto_deserialize]
 enum mac_ {
-    mac_invoc(@path, mac_arg, mac_body), // old macro-invocation
     mac_invoc_tt(@path,~[token_tree]),   // new macro-invocation
-    mac_ellipsis,                        // old pattern-match (obsolete)
-
-    // the span is used by the quoter/anti-quoter ...
-    mac_aq(span /* span of quote */, @expr), // anti-quote
-    mac_var(uint)
 }
 
 type lit = spanned<lit_>;