about summary refs log tree commit diff
path: root/src/comp
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
parent9a0e85a92038529e177440f01be127f13cd8d8c8 (diff)
downloadrust-2e46438507e95462f38f28c3a03acd5cd00e8890.tar.gz
rust-2e46438507e95462f38f28c3a03acd5cd00e8890.zip
So... I can't spell 'ellipsis'.
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/syntax/ast.rs2
-rw-r--r--src/comp/syntax/fold.rs2
-rw-r--r--src/comp/syntax/parse/lexer.rs2
-rw-r--r--src/comp/syntax/parse/token.rs4
-rw-r--r--src/comp/syntax/print/pprust.rs2
-rw-r--r--src/comp/syntax/visit.rs2
-rw-r--r--src/comp/syntax/walk.rs2
7 files changed, 8 insertions, 8 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs
index 71fc2b6cf96..fb0f474c084 100644
--- a/src/comp/syntax/ast.rs
+++ b/src/comp/syntax/ast.rs
@@ -333,7 +333,7 @@ tag mac_ {
     mac_invoc(path, (@expr)[], option::t[str]);
     mac_embed_type(@ty);
     mac_embed_block(block);
-    mac_elipsis;
+    mac_ellipsis;
 }
 
 type lit = spanned[lit_];
diff --git a/src/comp/syntax/fold.rs b/src/comp/syntax/fold.rs
index b41e8bbc09a..a7692490bcc 100644
--- a/src/comp/syntax/fold.rs
+++ b/src/comp/syntax/fold.rs
@@ -140,7 +140,7 @@ fn fold_mac_(&mac m, ast_fold fld) -> mac {
                 case (mac_embed_block(?block)) {
                     mac_embed_block(fld.fold_block(block))
                 }
-                case (mac_elipsis) { mac_elipsis }
+                case (mac_ellipsis) { mac_ellipsis }
             },
             span=m.span);
 }
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 ":"; }
diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs
index 2fcef0d7613..7a4007e1a60 100644
--- a/src/comp/syntax/print/pprust.rs
+++ b/src/comp/syntax/print/pprust.rs
@@ -691,7 +691,7 @@ fn print_mac(&ps s, &ast::mac m) {
         case (ast::mac_embed_block(?blk)) {
             print_possibly_embedded_block(s, blk, true);
         }
-        case (ast::mac_elipsis) {
+        case (ast::mac_ellipsis) {
             word(s.s, "...");
         }
     }
diff --git a/src/comp/syntax/visit.rs b/src/comp/syntax/visit.rs
index f3511e60be5..5198130c2fb 100644
--- a/src/comp/syntax/visit.rs
+++ b/src/comp/syntax/visit.rs
@@ -261,7 +261,7 @@ fn visit_mac[E](mac m, &E e, &vt[E] v) {
         case (ast::mac_invoc(?pth, ?args, ?body)) { visit_exprs(args, e, v); }
         case (ast::mac_embed_type(?ty)) { v.visit_ty(ty, e, v); }
         case (ast::mac_embed_block(?blk)) { v.visit_block(blk, e, v); }
-        case (ast::mac_elipsis) { }
+        case (ast::mac_ellipsis) { }
     }
 }
 
diff --git a/src/comp/syntax/walk.rs b/src/comp/syntax/walk.rs
index 0e2e13f6dc5..540905893a7 100644
--- a/src/comp/syntax/walk.rs
+++ b/src/comp/syntax/walk.rs
@@ -274,7 +274,7 @@ fn walk_mac(&ast_visitor v, ast::mac mac) {
         case (ast::mac_invoc(?pth, ?args, ?body)) { walk_exprs(v, args); }
         case (ast::mac_embed_type(?ty)) { walk_ty(v, ty); }
         case (ast::mac_embed_block(?blk)) { walk_block(v, blk); }
-        case (ast::mac_elipsis) { }
+        case (ast::mac_ellipsis) { }
     }
 }