Skip to content

Commit 2e46438

Browse files
committed
So... I can't spell 'ellipsis'.
1 parent 9a0e85a commit 2e46438

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/comp/syntax/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ tag mac_ {
333333
mac_invoc(path, (@expr)[], option::t[str]);
334334
mac_embed_type(@ty);
335335
mac_embed_block(block);
336-
mac_elipsis;
336+
mac_ellipsis;
337337
}
338338
339339
type lit = spanned[lit_];

src/comp/syntax/fold.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fn fold_mac_(&mac m, ast_fold fld) -> mac {
140140
case (mac_embed_block(?block)) {
141141
mac_embed_block(fld.fold_block(block))
142142
}
143-
case (mac_elipsis) { mac_elipsis }
143+
case (mac_ellipsis) { mac_ellipsis }
144144
},
145145
span=m.span);
146146
}

src/comp/syntax/parse/lexer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ fn next_token(&reader rdr) -> token::token {
370370
if (rdr.curr() == '.' && rdr.next() == '.') {
371371
rdr.bump();
372372
rdr.bump();
373-
ret token::ELIPSIS;
373+
ret token::ELLIPSIS;
374374
}
375375
ret token::DOT;
376376
}

src/comp/syntax/parse/token.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tag token {
4343
/* Structural symbols */
4444
AT;
4545
DOT;
46-
ELIPSIS;
46+
ELLIPSIS;
4747
COMMA;
4848
SEMI;
4949
COLON;
@@ -116,7 +116,7 @@ fn to_str(lexer::reader r, token t) -> str {
116116
/* Structural symbols */
117117
case (AT) { ret "@"; }
118118
case (DOT) { ret "."; }
119-
case (ELIPSIS) { ret "..."; }
119+
case (ELLIPSIS) { ret "..."; }
120120
case (COMMA) { ret ","; }
121121
case (SEMI) { ret ";"; }
122122
case (COLON) { ret ":"; }

src/comp/syntax/print/pprust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ fn print_mac(&ps s, &ast::mac m) {
691691
case (ast::mac_embed_block(?blk)) {
692692
print_possibly_embedded_block(s, blk, true);
693693
}
694-
case (ast::mac_elipsis) {
694+
case (ast::mac_ellipsis) {
695695
word(s.s, "...");
696696
}
697697
}

src/comp/syntax/visit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ fn visit_mac[E](mac m, &E e, &vt[E] v) {
261261
case (ast::mac_invoc(?pth, ?args, ?body)) { visit_exprs(args, e, v); }
262262
case (ast::mac_embed_type(?ty)) { v.visit_ty(ty, e, v); }
263263
case (ast::mac_embed_block(?blk)) { v.visit_block(blk, e, v); }
264-
case (ast::mac_elipsis) { }
264+
case (ast::mac_ellipsis) { }
265265
}
266266
}
267267

src/comp/syntax/walk.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ fn walk_mac(&ast_visitor v, ast::mac mac) {
274274
case (ast::mac_invoc(?pth, ?args, ?body)) { walk_exprs(v, args); }
275275
case (ast::mac_embed_type(?ty)) { walk_ty(v, ty); }
276276
case (ast::mac_embed_block(?blk)) { walk_block(v, blk); }
277-
case (ast::mac_elipsis) { }
277+
case (ast::mac_ellipsis) { }
278278
}
279279
}
280280

0 commit comments

Comments
 (0)