about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
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 ":"; }