diff options
| author | bors <bors@rust-lang.org> | 2013-07-07 05:22:56 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-07 05:22:56 -0700 |
| commit | 0f2515583dca4d6af7fabb6ebbd46c265710aacc (patch) | |
| tree | beff1824554421ded82c48b6f0f6f03d18c4f662 /src/libsyntax/parse/token.rs | |
| parent | d91ac39cd522dd40b80372baeb693680c1d15927 (diff) | |
| parent | 280e4245c065da9c22b09c1d18c0629af1709eb3 (diff) | |
| download | rust-0f2515583dca4d6af7fabb6ebbd46c265710aacc.tar.gz rust-0f2515583dca4d6af7fabb6ebbd46c265710aacc.zip | |
auto merge of #7615 : Aatch/rust/syntax-deshare, r=graydon
In an ideal world, the AST would be completely sendable, this gets us a step closer. It removes the local heap allocations for `view_item`, `Path`, `Lifetime` `trait_ref` `OptVec<TyParamBounds>` and `Ty`. There are also a few other smaller changes I made as things went along.
Diffstat (limited to 'src/libsyntax/parse/token.rs')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index a50fa416832..09d6ecb40fc 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -104,9 +104,9 @@ pub enum nonterminal { nt_stmt(@ast::stmt), nt_pat( @ast::pat), nt_expr(@ast::expr), - nt_ty( @ast::Ty), + nt_ty( ast::Ty), nt_ident(ast::ident, bool), - nt_path(@ast::Path), + nt_path( ast::Path), nt_tt( @ast::token_tree), //needs @ed to break a circularity nt_matchers(~[ast::matcher]) } |
