about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.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/parse/token.rs
parent9cced55b93a14cdca9bb86ae99b22021fac8685f (diff)
downloadrust-e24ae85025e40aa17915f6c604d89aefbca274bd.tar.gz
rust-e24ae85025e40aa17915f6c604d89aefbca274bd.zip
syntax: remove most code handling old-style syntax extensions.
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index a0aecd0375e..7e7c61d2bf2 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -49,7 +49,6 @@ enum Token {
     AT,
     DOT,
     DOTDOT,
-    ELLIPSIS,
     COMMA,
     SEMI,
     COLON,
@@ -137,7 +136,6 @@ fn to_str(in: @ident_interner, t: Token) -> ~str {
       AT => ~"@",
       DOT => ~".",
       DOTDOT => ~"..",
-      ELLIPSIS => ~"...",
       COMMA => ~",",
       SEMI => ~";",
       COLON => ~":",
@@ -578,12 +576,6 @@ impl Token : cmp::Eq {
                     _ => false
                 }
             }
-            ELLIPSIS => {
-                match (*other) {
-                    ELLIPSIS => true,
-                    _ => false
-                }
-            }
             COMMA => {
                 match (*other) {
                     COMMA => true,