| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-02-27 | libsyntax: Forbid mutable vectors. rs=demuting | Patrick Walton | -0/+15 | |
| 2013-02-27 | libsyntax: Forbid `~mut` and `~const`. rs=demuting | Patrick Walton | -2/+6 | |
| 2013-02-26 | libsyntax: add some more explicit copies | Erick Tryzelaar | -79/+139 | |
| 2013-02-26 | libsyntax: add explicit copies | Erick Tryzelaar | -61/+101 | |
| 2013-02-26 | libsyntax: change closures to take fn(&Parser) | Erick Tryzelaar | -33/+33 | |
| 2013-02-26 | auto merge of #5120 : jbclements/rust/macros-have-scope, r=pcwalton | bors | -21/+67 | |
| r? After this patch, macros declared in a module, function, or block can only be used inside of that module, function or block, with the exception of modules declared with the #[macro_escape] attribute; these modules allow macros to escape, and can be used as a limited macro export mechanism. This pull request also includes miscellaneous comments, lots of new test cases, a few renamings, and a few as-yet-unused data definitions for hygiene. | ||||
| 2013-02-26 | Macros now leave scope | John Clements | -21/+67 | |
| Macro scope is now delimited by function, block, and module boundaries, except for modules that are marked with #[macro_escape], which allows macros to escape. | ||||
| 2013-02-26 | libsyntax: Stop parsing `~mut` | Patrick Walton | -1/+13 | |
| 2013-02-26 | libsyntax: change binop_to_str to be pure | Erick Tryzelaar | -1/+1 | |
| 2013-02-26 | libsyntax: change token_is_word to take &Token | Erick Tryzelaar | -1/+1 | |
| 2013-02-26 | libsyntax: change Parser::unexpected_last to take &Token | Erick Tryzelaar | -4/+4 | |
| 2013-02-26 | libsyntax: more minor cleanup | Erick Tryzelaar | -32/+32 | |
| 2013-02-26 | libsyntax: change token fns to take &Token | Erick Tryzelaar | -39/+39 | |
| 2013-02-26 | libsyntax: change token::to_str to take &Token | Erick Tryzelaar | -40/+46 | |
| 2013-02-26 | libsyntax: minor cleanup | Erick Tryzelaar | -37/+62 | |
| 2013-02-26 | libsyntax: change parse_matcher_subseq to take &Token | Erick Tryzelaar | -8/+8 | |
| 2013-02-26 | libsyntax: change attr::parse_seq_* to take &Token | Erick Tryzelaar | -48/+48 | |
| 2013-02-26 | libsyntax: change parse_trait_ref_list to take a &Token | Erick Tryzelaar | -4/+4 | |
| 2013-02-25 | libsyntax: add some explicit copies | Erick Tryzelaar | -38/+45 | |
| 2013-02-25 | libsyntax: change token_is_{word,keyword} to take &Token | Erick Tryzelaar | -22/+22 | |
| 2013-02-25 | libsyntax: minor cleanup | Erick Tryzelaar | -138/+246 | |
| 2013-02-25 | libsyntax: change expect to take &token::Token | Erick Tryzelaar | -80/+82 | |
| 2013-02-25 | libsyntax: change flip_delimiter to take a &token::Token | Erick Tryzelaar | -6/+6 | |
| 2013-02-25 | libsyntax: change eat to take a &token | Erick Tryzelaar | -40/+40 | |
| 2013-02-25 | libsyntax: is_keyword should take a &~str | Erick Tryzelaar | -126/+130 | |
| 2013-02-25 | libsyntax: fix the span in parse_bottom_expr's INTERPOLATED handler | Erick Tryzelaar | -12/+17 | |
| 2013-02-25 | Stop parsing capture clauses | Ben Striegel | -38/+20 | |
| 2013-02-25 | libsyntax: make lexer vecs_implicitly_copyable-free | Erick Tryzelaar | -8/+17 | |
| 2013-02-25 | libsyntax: Convert ast::attribute_ to store a @meta_item | Erick Tryzelaar | -1/+1 | |
| 2013-02-22 | libsyntax: De-mut the parser. rs=demuting | Patrick Walton | -304/+305 | |
| 2013-02-21 | auto merge of #5077 : jbclements/rust/increase-monomorphization-depth-limit, ↵ | bors | -10/+58 | |
| r=catamorphism It appears that using deriving_eq/auto_encode on ASTs bumps up against the "gee this looks like infinite unfolding" limit of 10 in monomorphization. Increasing it to 30 seems to solve this problem for me.... Also, commenting and a few renames. | ||||
| 2013-02-21 | Cleanup, commenting, trivial renaming | John Clements | -10/+58 | |
| 2013-02-21 | Remove the last bits of structural records from tests/rustc/rusti/rustpkg. | Luqman Aden | -1/+1 | |
| 2013-02-21 | auto merge of #5071 : luqmana/rust/derec, r=pcwalton | bors | -121/+144 | |
| Rid libsyntax of records and get rid of the last piece in `librustc/front/test.rs`. | ||||
| 2013-02-21 | librustc: Separate the rest of the trait bounds with `+` and stop parsing ↵ | Patrick Walton | -3/+14 | |
| space-separated ones. rs=plussing | ||||
| 2013-02-21 | Get rid of structural records in libsyntax and the last bit in librustc. | Luqman Aden | -121/+144 | |
| 2013-02-20 | librustc: Separate most trait bounds with '+'. rs=plussing | Patrick Walton | -7/+7 | |
| 2013-02-19 | auto merge of #4999 : erickt/rust/incoming, r=brson | bors | -28/+28 | |
| This patch series is doing a couple things with the ultimate goal of removing `#[allow(vecs_implicitly_copyable)]`, although I'm not quite there yet. The main change is passing around `@~str`s in most places, and using `ref`s in others. As far as I could tell, there are no performance changes with these patches, and all the tests pass on my mac. | ||||
| 2013-02-19 | convert ast::meta_items to take @~strs | Erick Tryzelaar | -16/+16 | |
| 2013-02-19 | convert syntax::attr to use @~strs | Erick Tryzelaar | -7/+7 | |
| 2013-02-19 | Change functions from taking ~str to taking &str | Erick Tryzelaar | -3/+3 | |
| 2013-02-19 | libsyntax: convert interner into a modern struct | Erick Tryzelaar | -2/+2 | |
| 2013-02-19 | auto merge of #5002 : catamorphism/rust/one-tuples, r=graydon | bors | -8/+28 | |
| r? @graydon - This is for greater uniformity (for example, macros that generate tuples). rustc already supported 1-tuple patterns, but there was no way to construct a 1-tuple term. @graydon , as far as your comment on #4898 - it did turn out to be solvable inside the macro (since @luqmana already fixed it using structs instead), but I still think it's a good idea to allow 1-tuples, for uniformity. I don't think anyone is likely to trip over it, and I'm not too worried that it changes the amount of ambiguity. | ||||
| 2013-02-18 | rustc: For one-tuples, make parsing and printing the type work | Tim Chevalier | -2/+11 | |
| and add a test to reflect-visit-data | ||||
| 2013-02-17 | libsyntax: Update view_item_use/import to reflect actual usage | Luqman Aden | -6/+6 | |
| 2013-02-17 | syntax: Allow 1-tuple expressions | Tim Chevalier | -6/+17 | |
| This is for greater uniformity (for example, macros that generate tuples). rustc already supported 1-tuple patterns, but there was no way to construct a 1-tuple term. | ||||
| 2013-02-16 | Parse (and discard) lifetime declarations on function types | Niko Matsakis | -17/+29 | |
| 2013-02-16 | Permit lifetimes to appear in type parameter lists and after `&`. Lifetimes in | Niko Matsakis | -11/+99 | |
| type parameter lists are currently ignored, but `&'a T` is equivalent to `&a/T`. | ||||
| 2013-02-15 | librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵ | Patrick Walton | -11/+14 | |
| slipped through. r=tjc | ||||
| 2013-02-15 | libsyntax: Remove move as a keyword. | Luqman Aden | -2/+2 | |
