| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-05-24 | Avoid iterating two times over the list of LHSes. | Leo Testard | -5/+4 | |
| 2016-05-24 | Make sure that macros that didn't pass LHS checking are not expanded. | Leo Testard | -41/+56 | |
| This avoids duplicate errors for things like invalid fragment specifiers, or parsing errors for ambiguous macros. Fixes #29231. | ||||
| 2016-04-27 | Make some fatal lexer errors recoverable | mitaa | -1/+3 | |
| 2016-04-24 | syntax: Check paths in visibilities for type parameters | Vadim Petrochenkov | -2/+2 | |
| syntax: Merge PathParsingMode::NoTypesAllowed and PathParsingMode::ImportPrefix syntax: Rename PathParsingMode and its variants to better express their purpose syntax: Remove obsolete error message about 'self lifetime syntax: Remove ALLOW_MODULE_PATHS workaround syntax/resolve: Adjust some error messages resolve: Compare unhygienic (not renamed) names with keywords::Invalid, invalid identifiers may appear to be valid after renaming | ||||
| 2016-04-24 | syntax: Make static/super/self/Self keywords + special ident cleanup | Vadim Petrochenkov | -3/+3 | |
| 2016-04-24 | syntax: Get rid of token::IdentStyle | Vadim Petrochenkov | -24/+22 | |
| 2016-04-13 | implement RFC amendment 1494 | Alex Burka | -0/+1 | |
| 2016-03-22 | try! -> ? | Jorge Aparicio | -2/+2 | |
| Automated conversion using the untry tool [1] and the following command: ``` $ find -name '*.rs' -type f | xargs untry ``` at the root of the Rust repo. [1]: https://github.com/japaric/untry | ||||
| 2016-03-02 | Fix the search paths for macro-expanded non-inline modules | Jeffrey Seyfried | -1/+7 | |
| 2016-02-18 | Remove unnecessary explicit lifetime bounds. | Corey Farwell | -11/+11 | |
| These explicit lifetimes can be ommitted because of lifetime elision rules. Instances were found using rust-clippy. | ||||
| 2016-02-11 | Remove some unnecessary indirection from AST structures | Vadim Petrochenkov | -3/+3 | |
| 2016-02-11 | [breaking-change] don't glob export ast::KleeneOp variants | Oliver 'ker' Schneider | -5/+5 | |
| 2016-01-27 | trpl: fix macro follow sets | Alex Burka | -0/+1 | |
| 2016-01-23 | add `[` to FOLLOW(ty) and FOLLOW(path) | Alex Burka | -1/+1 | |
| Following RFC 1462 (amending 550). Closes #31135. | ||||
| 2016-01-07 | extending FOLLOW(NT) as specified in amendment. | Felix S. Klock II | -4/+7 | |
| See RFC amendment 1384: https://github.com/rust-lang/rfcs/pull/1384 | ||||
| 2016-01-07 | macro_rules: proper FIRST/FOLLOW computations for checking macro_rules validity. | Felix S. Klock II | -16/+500 | |
| See RFC amendment 1384 and tracking issue 30450: https://github.com/rust-lang/rfcs/pull/1384 https://github.com/rust-lang/rust/issues/30450 Moved old check_matcher code into check_matcher_old combined the two checks to enable a warning cycle (where we will continue to error if the two checks agree to reject, accept if the new check says accept, and warn if the old check accepts but the new check rejects). | ||||
| 2016-01-06 | Auto merge of #30654 - nrc:panictry, r=brson | bors | -4/+4 | |
| The motivation (other than removing boilerplate) is that this is a baby step towards a parser with error recovery. [breaking-change] if you use any of the changed functions, you'll need to remove a try! or panictry! | ||||
| 2016-01-04 | Add test for "malformed macro lhs" and change back span_bug to span_fatal | Guillaume Gomez | -2/+2 | |
| 2015-12-31 | Cut out a bunch of Result and panictry! boilerplate from libsyntax. | Nick Cameron | -4/+4 | |
| [breaking-change] if you use any of the changed functions, you'll need to remove a try! or panictry! | ||||
| 2015-12-30 | use structured errors | Nick Cameron | -15/+28 | |
| 2015-12-18 | Rollup merge of #30384 - nrc:diagnostics, r=@nikomatsakis | Manish Goregaokar | -4/+4 | |
| Should make it possible to add JSON or HTML errors. Also tidies up a lot. | ||||
| 2015-12-17 | Remove unused imports | Jeffrey Seyfried | -2/+2 | |
| 2015-12-17 | move error handling from libsyntax/diagnostics.rs to libsyntax/errors/* | Nick Cameron | -4/+4 | |
| Also split out emitters into their own module. | ||||
| 2015-12-15 | Generated code spans now point to callsite parameters (where applicable) | Daniel Campbell | -5/+8 | |
| 2015-11-25 | Fix "Cannot fill in a NT" ICE | Jonas Schievink | -12/+23 | |
| 2015-11-25 | Auto merge of #30011 - jonas-schievink:macro-context, r=nrc | bors | -10/+10 | |
| Fixes #22425 Also fixes #30007, since it's just a change from `true` to `false`. | ||||
| 2015-11-24 | Remove "this" | Jonas Schievink | -1/+1 | |
| 2015-11-24 | Fix unreachable code in libsyntax | Manish Goregaokar | -2/+2 | |
| 2015-11-23 | Print the macro context name on incomplete parse | Jonas Schievink | -10/+10 | |
| Fixes #22425 Also fixes #30007, since it's just a change from `true` to `false`. | ||||
| 2015-11-17 | Fix match_ref_pats flagged by Clippy | Seo Sanghyeon | -17/+17 | |
| 2015-11-16 | Auto merge of #29828 - sanxiyn:check-macro, r=nrc | bors | -49/+63 | |
| Fix #27409. | ||||
| 2015-11-14 | Check macro definition and do not expand invalid macros | Seo Sanghyeon | -3/+22 | |
| 2015-11-14 | Reindent code | Seo Sanghyeon | -22/+22 | |
| 2015-11-14 | Store TokenTree in MacroRulesMacroExpander | Seo Sanghyeon | -28/+23 | |
| 2015-11-13 | Auto merge of #29761 - eefriedman:rename-nopanic, r=sanxiyn | bors | -10/+10 | |
| Just `sed s/_nopanic//g`. Hopefully makes libsyntax a bit more readable. | ||||
| 2015-11-10 | Rename _nopanic methods to remove the suffix. | Eli Friedman | -10/+10 | |
| Just `sed s/_nopanic//g`. Hopefully makes libsyntax a bit more readable. | ||||
| 2015-11-10 | Use deref coercions | Seo Sanghyeon | -1/+1 | |
| 2015-11-06 | remove `Tt` prefix from TokenType variants | Oliver Schneider | -67/+72 | |
| [breaking change] | ||||
| 2015-10-27 | Don't panic for fatal errors in attribute parsing. | Eli Friedman | -1/+1 | |
| 2015-10-27 | Delete unnecessary ParserAttr trait. | Eli Friedman | -1/+0 | |
| 2015-10-27 | Don't use panicking helpers in Parser. | Eli Friedman | -9/+9 | |
| 2015-10-08 | typos: fix a grabbag of typos all over the place | Cristi Cobzarenco | -2/+2 | |
| 2015-09-24 | Cleanup interfaces of Name, SyntaxContext and Ident | Vadim Petrochenkov | -14/+14 | |
| Make sure Name, SyntaxContext and Ident are passed by value Make sure Idents don't serve as keys (or parts of keys) in maps, Ident comparison is not well defined | ||||
| 2015-08-19 | Auto merge of #27849 - jonas-schievink:macro-errors, r=nikomatsakis | bors | -46/+50 | |
| And some small indentation/code style fixes in the macro parser. | ||||
| 2015-08-15 | Slightly improved macro diagnostics + Indentation fixes | Jonas Schievink | -46/+50 | |
| 2015-08-15 | Fix span of invalid metavariable repetition | Jonas Schievink | -1/+1 | |
| 2015-08-10 | add and use Span.substitute_dummy method | Tim Neumann | -17/+6 | |
| 2015-08-07 | improve span of erroneous empty macro invocation | Tim Neumann | -22/+27 | |
| The ideas is to use the span of the complete macro invocation if the span of a macro error is `DUMMY_SP`. fixes #7970 | ||||
| 2015-08-04 | Extend macro machinery to expand macros in types | Jared Roesch | -0/+6 | |
| Reapplied the changes from https://github.com/freebroccolo/rust/commit/7aafe24139abc2d1f302bbb166bcaa006f12cf4d to a clean branch of master | ||||
| 2015-07-28 | remove `get_ident` and `get_name`, make `as_str` sound | Oliver Schneider | -24/+17 | |
