diff options
| author | bors <bors@rust-lang.org> | 2013-11-27 08:07:56 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-11-27 08:07:56 -0800 |
| commit | a6fc577ab580d09f05bb9b545b6a6511cfcb0a8f (patch) | |
| tree | 3ce249e3a8f43ef93d15d297484b14160a1f5052 /src/libsyntax/parse | |
| parent | 23674be0b1ff920773520c7fec96c3a4b2068b21 (diff) | |
| parent | f09b7b0ecd7fc03c9d433632f89b3267f16cd4f8 (diff) | |
| download | rust-a6fc577ab580d09f05bb9b545b6a6511cfcb0a8f.tar.gz rust-a6fc577ab580d09f05bb9b545b6a6511cfcb0a8f.zip | |
auto merge of #10693 : eddyb/rust/freeze-ast, r=thestinger
It's truly immutable now, which will allow us to remove some cloning in the parser and box parts of the AST in `Rc<T>` (if desired).
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index b9a7ec33ee4..fab0de4179e 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2112,7 +2112,7 @@ impl Parser { }; tt_seq( mk_sp(sp.lo, p.span.hi), - @mut seq, + @seq, s, z ) @@ -2157,7 +2157,7 @@ impl Parser { result.push(parse_any_tt_tok(self)); self.open_braces.pop(); - tt_delim(@mut result) + tt_delim(@result) } _ => parse_non_delim_tt_tok(self) } |
