Remove old fixed-length vector syntax
This commit is contained in:
committed by
Brian Anderson
parent
4174688dd4
commit
ac81fff229
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user