summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
AgeCommit message (Collapse)AuthorLines
2014-01-02libsyntax: De-`@mut` `Parser::open_braces`Patrick Walton-5/+9
2014-01-02libsyntax: De-`@mut` `Parser::mod_path_stack`Patrick Walton-4/+3
2014-01-02libsyntax: De-`@mut` `Parser::obsolete_set`Patrick Walton-2/+2
2014-01-02libsyntax: De-`@mut` `Parser::restriction`Patrick Walton-7/+7
2014-01-02libsyntax: De-`@mut` `Parser::tokens_consumed`Patrick Walton-3/+3
2014-01-02libsyntax: De-`@mut` `Parser::buffer_start` and `Parser::buffer_end`Patrick Walton-13/+13
2014-01-02libsyntax: De-`@mut` `Parser::buffer`Patrick Walton-3/+3
2014-01-02libsyntax: De-`@mut` `Parser::last_token`Patrick Walton-3/+3
2014-01-02libsyntax: De-`@mut` `Parser::last_span`Patrick Walton-30/+28
2014-01-02libsyntax: De-`@mut` `Parser::span`Patrick Walton-49/+51
2014-01-02libsyntax: De-`@mut` `token` in the parserPatrick Walton-207/+212
2014-01-02libsyntax: De-`@mut` `quote_depth` in the parserPatrick Walton-3/+3
2014-01-02libsyntax: Make the parser mutablePatrick Walton-379/+410
2014-01-01Remove `extern mod foo (name="bar")` syntax, closes #9543Florian Hahn-2/+9
2013-12-19Accept trailing commas in struct patternsAlex Crichton-2/+7
We decided in the 12/10/13 weekly meeting that trailing commas should be accepted pretty much anywhere. They are currently not allowed in struct patterns, and this commit adds support for that. Closes #10392
2013-12-18auto merge of #10915 : alexcrichton/rust/fixes, r=ILyoanbors-0/+1
Just a little cleanup.
2013-12-17Remove obsolete mutability from ast::TySeo Sanghyeon-9/+8
2013-12-15Forbid multiple imports in use statementsAlex Crichton-0/+1
Closes #10911
2013-12-15libsyntax: Implement the new `box` syntax for unique pointers.Patrick Walton-0/+16
2013-12-11Make 'self lifetime illegal.Erik Price-3/+3
Also remove all instances of 'self within the codebase. This fixes #10889.
2013-12-11auto merge of #10808 : kballard/rust/use-braces, r=alexcrichtonbors-0/+15
This fixes #10806.
2013-12-10Support imports of the form `use {foo,bar}`Kevin Ballard-0/+15
This fixes #10806.
2013-12-10auto merge of #10833 : sfackler/rust/mut-pat, r=brsonbors-1/+16
Previously, if you wanted to bind a field mutably or by ref, you had to do something like Foo { x: ref mut x }. You can now just do Foo { ref mut x }. Closes #6137
2013-12-10Allow ref and mut modifiers for short form field patternsSteven Fackler-1/+16
Previously, if you wanted to bind a field mutably or by ref, you had to do something like Foo { x: ref mut x }. You can now just do Foo { ref mut x }. Closes #6137
2013-12-08Remove dead codesKiet Tran-100/+0
2013-12-04Revert "libstd: Change `Path::new` to `Path::init`."Kevin Ballard-2/+2
This reverts commit c54427ddfbbab41a39d14f2b1dc4f080cbc2d41b. Leave the #[ignores] in that were added to rustpkg tests. Conflicts: src/librustc/driver/driver.rs src/librustc/metadata/creader.rs
2013-12-03Fix the comments for libsyntax::parse::parser::parse_sugary_call_exprKevin Ballard-8/+8
The comments on this function date back from when it was used for `for` expressions in addition to `do` expressions.
2013-12-01auto merge of #10750 : Blei/rust/no-at-struct-field, r=alexcrichtonbors-7/+7
2013-12-01ast: Remove one `@` and fix the falloutPhilipp Brüschweiler-7/+7
2013-12-01Box Block, fn_decl, variant and Ty in the AST, as they were inflating ↵Eduard Burtescu-62/+78
critical enum sizes.
2013-11-29libstd: Change `Path::new` to `Path::init`.Patrick Walton-2/+2
2013-11-28Register new snapshotsAlex Crichton-42/+39
2013-11-27Freeze the AST by removing a couple of unused @mut ~[T] from token_tree.Eduard Burtescu-2/+2
2013-11-26libsyntax: Remove all non-`proc` `do` syntax.Patrick Walton-25/+21
2013-11-26libsyntax: Remove the old-style borrowed closure type syntax from thePatrick Walton-1/+2
language.
2013-11-26Removed unneccessary `_iter` suffixes from various APIsMarvin Löbel-1/+1
2013-11-25auto merge of #10628 : huonw/rust/3614, r=alexcrichtonbors-7/+17
Fixes #3614.
2013-11-25syntax: parse inner attributes on impls.Huon Wilson-7/+17
Fixes #3614.
2013-11-24Add a note for unclosed delimitersCorey Richardson-9/+7
Currently, the parser doesn't give any context when it finds an unclosed delimiter and it's not EOF. Report the most recent unclosed delimiter, to help the user along. Closes #10636
2013-11-20auto merge of #10567 : sanxiyn/rust/bytepos, r=alexcrichtonbors-1/+1
2013-11-20Make BytePos 32-bitSeo Sanghyeon-1/+1
2013-11-19libsyntax: Change all uses of `&fn` to `||`.Patrick Walton-46/+53
2013-11-18libsyntax: Remove `~fn()` from the languagePatrick Walton-2/+4
2013-11-18Use '..' as slice wildcard in vectorsBrian Anderson-11/+29
2013-11-18Use '..' as multi-field wildcard in enums and structs.Brian Anderson-1/+16
2013-11-11Fix path parsingSeo Sanghyeon-4/+0
2013-11-08Generalize AST and ty::Generics to accept multiple lifetimes.Niko Matsakis-40/+15
2013-11-04libsyntax/librustc: Allow calling variadic foreign functions.Luqman Aden-19/+62
2013-10-31librustc: Implement `|A| -> B` syntax for closures and make bare `fn`Patrick Walton-31/+155
work
2013-10-29auto merge of #10134 : reedlepee123/rust/priv_fields, r=brsonbors-7/+4