Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update tests | Ville Penttinen | 2019-03-31 | 1 | -57/+61 |
| | |||||
* | Update tests | Ville Penttinen | 2019-03-30 | 2 | -99/+111 |
| | |||||
* | Merge #991 | bors[bot] | 2019-03-18 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 991: Use Marker argument for item parsers r=matklad a=pcpthm Before doing this for expressions, I found that the pattern (Marker argument) should be applied to the item parsers because visiblity and modifiers are parsed in a separate function. Fixed some parser bugs: - Fix pub_expr: `pub 42;` was allowed. - Fix incorrect parsing of crate::path: incorrectly parsed as `crate` as a visibility. Co-authored-by: pcpthm <[email protected]> | ||||
| * | Use Marker argument for item parsers | pcpthm | 2019-03-18 | 1 | -3/+3 |
| | | | | | | | | | | - Fix pub_expr - Fix incorrect parsing of crate::path | ||||
* | | Fix parse tree of attribute on match arm | pcpthm | 2019-03-17 | 2 | -40/+40 |
|/ | |||||
* | improve error recovery | Aleksey Kladov | 2019-03-04 | 3 | -42/+70 |
| | | | | parse the contents of error block as an expression | ||||
* | Parse only outer_attributes for match arms for now | Ville Penttinen | 2019-02-17 | 1 | -31/+59 |
| | |||||
* | Enable parsing of attributes inside a match block | Ville Penttinen | 2019-02-17 | 4 | -0/+264 |
| | | | | | | | We allow invalid inner attributes to be parsed, e.g. inner attributes that are not directly after the opening brace of the match block. Instead we run validation on `MatchArmList` to allow better reporting of errors. | ||||
* | make macro a NameOwner | Aleksey Kladov | 2019-02-11 | 1 | -1/+2 |
| | |||||
* | Parse and validate attributes in blocks | DJMcNab | 2019-01-28 | 2 | -0/+129 |
| | |||||
* | rename POS_FIELD -> POS_FIELD_DEF | Aleksey Kladov | 2019-01-25 | 2 | -7/+7 |
| | | | | to match NAMED_FIELD_DEF | ||||
* | Update tests after allowing where predicate to accept types | Erlend Tobiassen | 2019-01-22 | 1 | -8/+9 |
| | |||||
* | Rename ImplItem to ImplBlock | Florian Diebold | 2019-01-04 | 3 | -4/+4 |
| | | | | | rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion. | ||||
* | fix suffix ranges | Aleksey Kladov | 2018-12-27 | 2 | -0/+79 |
| | |||||
* | Improve parsing of incomplete field accesses in preparation for field completion | Florian Diebold | 2018-12-25 | 2 | -0/+38 |
| | | | | | We need to be able to get the receiver even if there is no field name yet, and currently "a." wouldn't get parsed as a field name at all. This seems to help. | ||||
* | Fix the tests and fix the precommit hook | DJMcNab | 2018-12-20 | 2 | -0/+332 |
| | |||||
* | rename ROOT -> SOURCE_FILE | Aleksey Kladov | 2018-11-07 | 28 | -28/+28 |
| | |||||
* | grammar: fix where clause parsing | Aleksey Kladov | 2018-11-06 | 2 | -0/+30 |
| | | | | closes #205 | ||||
* | Attach comments smartly | Aleksey Kladov | 2018-10-08 | 1 | -3/+3 |
| | |||||
* | generate testsuite for impl_type | csmoe | 2018-09-26 | 2 | -8/+6 |
| | |||||
* | parse impl type | csmoe | 2018-09-25 | 2 | -47/+28 |
| | |||||
* | add test for impl recovery | csmoe | 2018-09-24 | 2 | -0/+70 |
| | |||||
* | rename all things | Aleksey Kladov | 2018-09-16 | 51 | -0/+2248 |