about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 3d8fa1b6728..63f4f97889c 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -54,6 +54,7 @@ pub enum Token {
     AT,
     DOT,
     DOTDOT,
+    DOTDOTDOT,
     COMMA,
     SEMI,
     COLON,
@@ -147,6 +148,7 @@ pub fn to_str(input: @ident_interner, t: &Token) -> ~str {
       AT => ~"@",
       DOT => ~".",
       DOTDOT => ~"..",
+      DOTDOTDOT => ~"...",
       COMMA => ~",",
       SEMI => ~";",
       COLON => ~":",