about summary refs log tree commit diff
path: root/src/librustc_parse/parser/mod.rs
AgeCommit message (Expand)AuthorLines
2020-02-22parser: Cleanup `Parser::bump_with` and its usesVadim Petrochenkov-127/+51
2020-02-17parser: Remove `Option`s from unnormalized tokensVadim Petrochenkov-36/+19
2020-02-17parser: Set previous and unnormalized tokens in couple more placesVadim Petrochenkov-4/+4
2020-02-17parser: Do not call `bump` recursivelyVadim Petrochenkov-43/+32
2020-02-13parser: misc small item related improvements & cleanups.Mazdak Farrokhzad-0/+5
2020-02-13parser: move `ban_async_in_2015` to `fn` parsing & improve it.Mazdak Farrokhzad-13/+0
2020-02-13IsAsync -> enum Async { Yes { span: Span, .. }, No }Mazdak Farrokhzad-4/+5
2020-02-13Constness -> enum Const { Yes(Span), No }Mazdak Farrokhzad-3/+9
2020-02-13Rollup merge of #68848 - nnethercote:hasten-macro-parsing, r=petrochenkovDylan DPC-5/+4
2020-02-12Rollup merge of #69034 - petrochenkov:notokind, r=CentrilDylan DPC-32/+6
2020-02-11Run RustFmtjumbatm-1/+3
2020-02-11Invert control in struct_lint_level.jumbatm-1/+1
2020-02-10parser: Remove `Parser::prev_token_kind`Vadim Petrochenkov-32/+6
2020-02-10parser: Keep current and previous tokens preciselyVadim Petrochenkov-23/+51
2020-02-06Remove the `Cow` from `Directory`.Nicholas Nethercote-5/+4
2020-02-04stop using BytePos for computing spans in librustc_parse/parser/mod.rsDavid Renshaw-17/+22
2020-02-03Auto merge of #68735 - JohnTitor:fix-ice-0202, r=estebankbors-2/+2
2020-02-01syntax::print -> new crate rustc_ast_prettyMazdak Farrokhzad-1/+1
2020-02-011. move node_id to syntaxMazdak Farrokhzad-1/+1
2020-02-02Use `next_point` to avoid ICEYuki Okushi-2/+2
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-2/+0
2020-01-11restore some rustc_parse visibilitiesCaleb Cartwright-4/+9
2020-01-10Change `next_point` when `shrink_to_hi` is more appropriateEsteban Küber-1/+1
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-2/+1
2020-01-03tweak wording of mismatched delimiter errorsAndy Russell-4/+4
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-3/+3
2019-12-31parser: bug -> span_bugMazdak Farrokhzad-1/+2
2019-12-31process_potential_macro_variable: de-fatalize an errorMazdak Farrokhzad-2/+1
2019-12-23extract parse_not_exprMazdak Farrokhzad-23/+18
2019-12-22Format the worldMark Rousskov-171/+154
2019-12-21Rollup merge of #67355 - Centril:merge-mut, r=oli-obkMazdak Farrokhzad-4/+4
2019-12-20fix bug in parse_tuple_parens_expr + related refactoringMazdak Farrokhzad-33/+29
2019-12-20introduce 'type AttrVec'Mazdak Farrokhzad-5/+4
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-4/+4
2019-12-05rustc_parser: cleanup importsMazdak Farrokhzad-8/+5
2019-12-02Address review commentsVadim Petrochenkov-1/+2
2019-12-02syntax: Use `ast::MacArgs` for attributesVadim Petrochenkov-6/+5
2019-12-02syntax: Introduce a struct `MacArgs` for macro argumentsVadim Petrochenkov-21/+43
2019-11-26Refactor 'parse_enum_item' to use 'parse_delim_comma_seq'Janusz Marcinkiewicz-2/+20
2019-11-22Rollup merge of #66183 - Centril:empty-vis-trait-decl, r=petrochenkovMazdak Farrokhzad-2/+6
2019-11-16parse: Use string literal parsing in the `asm` macroVadim Petrochenkov-42/+12
2019-11-16parse: Support parsing optional literalsVadim Petrochenkov-8/+7
2019-11-16ast: Keep string literals in ABIs preciselyVadim Petrochenkov-4/+7
2019-11-16ast: Keep `extern` qualifiers in functions more preciselyVadim Petrochenkov-15/+9
2019-11-14Clean some error codes diagnosticsGuillaume Gomez-8/+8
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-0/+2
2019-11-13parser: don't use `unreachable!()` in `fn unexpected`.Mazdak Farrokhzad-1/+3
2019-11-11syntactically allow visibility on trait item & enum variantMazdak Farrokhzad-2/+6
2019-11-10move syntax::parse -> librustc_parseMazdak Farrokhzad-0/+1393