So... I can't spell 'ellipsis'.

This commit is contained in:
Paul Stansifer 2011-07-11 16:13:17 -07:00
parent 9a0e85a920
commit 2e46438507
7 changed files with 8 additions and 8 deletions

View file

@ -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_];

View file

@ -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);
}

View file

@ -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;
}

View file

@ -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 ":"; }

View file

@ -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, "...");
}
}

View file

@ -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) { }
}
}

View file

@ -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) { }
}
}