syntax: remove most code handling old-style syntax extensions.
This commit is contained in:
@@ -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_>;
|
||||
|
||||
Reference in New Issue
Block a user