Remove old fixed-length vector syntax

This commit is contained in:
Ben Striegel
2012-10-10 00:28:04 -04:00
committed by Brian Anderson
parent 4174688dd4
commit ac81fff229
33 changed files with 135 additions and 151 deletions

View File

@@ -207,12 +207,7 @@ fn Parser(sess: parse_sess, cfg: ast::crate_cfg,
token: tok0.tok,
span: span0,
last_span: span0,
buffer: [mut
{tok: tok0.tok, sp: span0},
{tok: tok0.tok, sp: span0},
{tok: tok0.tok, sp: span0},
{tok: tok0.tok, sp: span0}
]/4,
buffer: [mut {tok: tok0.tok, sp: span0}, ..4],
buffer_start: 0,
buffer_end: 0,
restriction: UNRESTRICTED,
@@ -231,7 +226,7 @@ struct Parser {
mut token: token::Token,
mut span: span,
mut last_span: span,
mut buffer: [mut {tok: token::Token, sp: span}]/4,
mut buffer: [mut {tok: token::Token, sp: span} * 4],
mut buffer_start: int,
mut buffer_end: int,
mut restriction: restriction,