about summary refs log tree commit diff
path: root/src/libsyntax/parse
AgeCommit message (Expand)AuthorLines
2018-05-19rustc: introduce {ast,hir}::AnonConst to consolidate so-called "embedded cons...Eduard-Mihai Burtescu-6/+18
2018-05-18rustc: Fix joint-ness of stringified token-streamsAlex Crichton-17/+42
2018-05-18Make `Directory::path` a `Cow`.Nicholas Nethercote-10/+12
2018-05-18Auto merge of #50307 - petrochenkov:keyhyg2, r=nikomatsakisbors-45/+7
2018-05-18Auto merge of #50566 - nnethercote:bump, r=petrochenkovbors-65/+55
2018-05-17Turn some functions from `token.rs` into methods on `Ident`Vadim Petrochenkov-51/+8
2018-05-17Add two keywords specific to editions 2015 and 2018 respectivelyVadim Petrochenkov-2/+7
2018-05-16Auto merge of #50045 - est31:label_break_value, r=eddybbors-8/+16
2018-05-16label-break-value: Parsing and AST/HIR changesest31-8/+16
2018-05-15Represent lifetimes as two joint tokens in proc macrosVadim Petrochenkov-4/+7
2018-05-15proc_macro: Validate inputs to `Punct::new` and `Ident::new`Vadim Petrochenkov-0/+9
2018-05-14Remove `StringReader::col`.Nicholas Nethercote-7/+13
2018-05-14Make `nextnextch()` more closely resemble `nextch()`.Nicholas Nethercote-8/+7
2018-05-13Macros: Add a 'literal' fragment specifierDan Aloni-10/+29
2018-05-13Remove `StringReader::terminator`.Nicholas Nethercote-20/+11
2018-05-13Rename some stuff in `StringReader`.Nicholas Nethercote-29/+24
2018-05-13Tweak naming and ordering in `StringReader::bump()`.Nicholas Nethercote-16/+15
2018-05-10Fix tuple struct field spansEsteban Küber-1/+1
2018-05-09Optimize string handling in lit_token().Nicholas Nethercote-6/+17
2018-05-03Auto merge of #50413 - kennytm:rollup, r=kennytmbors-1/+1
2018-05-03Auto merge of #50030 - flip1995:rfc2103, r=petrochenkovbors-6/+7
2018-05-03check if the token is a lifetime before parsingrleungx-1/+1
2018-05-03Remove parse::escape_default().Nicholas Nethercote-6/+2
2018-05-02make it compile againflip1995-6/+6
2018-05-02Remove Option from the return type of Attribute::name()Seiichi Uchida-4/+4
2018-05-02Allow Path for name of MetaItemSeiichi Uchida-3/+4
2018-04-28Auto merge of #50155 - est31:label_expressions, r=petrochenkovbors-1/+2
2018-04-26rustc_target: move in syntax::abi and flip dependency.Irina Popa-2/+2
2018-04-23'label can start expressionsest31-1/+2
2018-04-23Auto merge of #48946 - PramodBisht:issues/48636, r=estebankbors-1/+16
2018-04-221) Addresses #48636Pramod Bisht-1/+16
2018-04-22parser: Do not override syntactic context for dummy spansVadim Petrochenkov-1/+2
2018-04-20Auto merge of #50052 - nnethercote:char_lit, r=Mark-Simulacrumbors-2/+10
2018-04-18proc_macro: Stay on the "use the cache" path moreAlex Crichton-9/+91
2018-04-19Avoid allocating when parsing \u{...} literals.Nicholas Nethercote-2/+10
2018-04-18Auto merge of #49993 - nnethercote:shrink-Token, r=alexcrichtonbors-5/+5
2018-04-14Rollup merge of #49852 - alexcrichton:fix-more-proc-macros, r=nrckennytm-9/+22
2018-04-14macros: Do not match on "complex" nonterminals requiring AST comparisonsVadim Petrochenkov-1/+17
2018-04-12Avoid comparing fields by name when possibleVadim Petrochenkov-3/+2
2018-04-12AST/HIR: Merge field access expressions for named and numeric fieldsVadim Petrochenkov-32/+5
2018-04-12Change the hashcounts in raw `Lit` variants from usize to u16.Nicholas Nethercote-5/+5
2018-04-12Auto merge of #49698 - SimonSapin:unicode-for-everyone, r=alexcrichtonbors-1/+1
2018-04-12Deprecate the std_unicode crateSimon Sapin-1/+1
2018-04-11Rollup merge of #49525 - varkor:sort_by_cached_key-conversion, r=scottmcmkennytm-1/+1
2018-04-10proc_macro: Avoid cached TokenStream more oftenAlex Crichton-9/+22
2018-04-10Auto merge of #49390 - Zoxc:sync-syntax, r=michaelwoeristerbors-29/+18
2018-04-09in which `!` is suggested for erroneous identifier `not`Zack M. Davis-2/+52
2018-04-09don't suggest placing code in block if next token is open-braceZack M. Davis-0/+5
2018-04-09Convert sort_by to sort_by_cached_keyvarkor-1/+1
2018-04-06Use `Ident` instead of `Name` in `MetaItem`Vadim Petrochenkov-5/+4