about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorPaul Stansifer <paul.stansifer@gmail.com>2011-07-11 16:13:17 -0700
committerPaul Stansifer <paul.stansifer@gmail.com>2011-07-11 18:52:50 -0700
commit2e46438507e95462f38f28c3a03acd5cd00e8890 (patch)
tree691dfde9cd2bca731396f1b99967f38753f6f02d /src/comp/syntax/parse
parent9a0e85a92038529e177440f01be127f13cd8d8c8 (diff)
downloadrust-2e46438507e95462f38f28c3a03acd5cd00e8890.tar.gz
rust-2e46438507e95462f38f28c3a03acd5cd00e8890.zip
So... I can't spell 'ellipsis'.
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/lexer.rs2
-rw-r--r--src/comp/syntax/parse/token.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/syntax/parse/lexer.rs b/src/comp/syntax/parse/lexer.rs
index d5c0b2c09bb..733faaf4f09 100644
--- a/src/comp/syntax/parse/lexer.rs
+++ b/src/comp/syntax/parse/lexer.rs
@@ -370,7 +370,7 @@ fn next_token(&reader rdr) -> token::token {
             if (rdr.curr() == '.' && rdr.next() == '.') {
                 rdr.bump();
                 rdr.bump();
-                ret token::ELIPSIS;
+                ret token::ELLIPSIS;
             }
             ret token::DOT;
         }
diff --git a/src/comp/syntax/parse/token.rs b/src/comp/syntax/parse/token.rs
index 2582c22892b..bb594d9e1b9 100644
--- a/src/comp/syntax/parse/token.rs
+++ b/src/comp/syntax/parse/token.rs
@@ -43,7 +43,7 @@ tag token {
     /* Structural symbols */
     AT;
     DOT;
-    ELIPSIS;
+    ELLIPSIS;
     COMMA;
     SEMI;
     COLON;
@@ -116,7 +116,7 @@ fn to_str(lexer::reader r, token t) -> str {
              /* Structural symbols */
         case (AT) { ret "@"; }
         case (DOT) { ret "."; }
-        case (ELIPSIS) { ret "..."; }
+        case (ELLIPSIS) { ret "..."; }
         case (COMMA) { ret ","; }
         case (SEMI) { ret ";"; }
         case (COLON) { ret ":"; }