about summary refs log tree commit diff
path: root/src/libsyntax/parse/lexer
AgeCommit message (Expand)AuthorLines
2018-07-29Replace push loops with collect() and extend() where possibleljedrz-3/+1
2018-07-23Allow by default, fix testsmark-0/+1
2018-07-20proc_macro: move some implementation details to a rustc module.Eduard-Mihai Burtescu-6/+0
2018-07-14Remove some tests using AST comparisons, fix other testsVadim Petrochenkov-2/+4
2018-07-14Remove most of `PartialEq` impls from AST and HIR structuresVadim Petrochenkov-1/+1
2018-07-10Deny bare trait objects in in src/libsyntaxljedrz-1/+1
2018-06-28Fix FileMap::line_begin_pos().Michael Woerister-2/+4
2018-06-27Make FileMap::{lines, multibyte_chars, non_narrow_chars} non-mutable.Michael Woerister-19/+1
2018-06-26migrate codebase to `..=` inclusive range patternsZack M. Davis-2/+2
2018-06-15Auto merge of #50296 - cmdd:master, r=nikomatsakisbors-0/+14
2018-06-09Crate-ify and delete unused code in syntax::parseMark Simulacrum-24/+22
2018-06-08provide error message when using more than 65535 hash symbols for raw stringsDavid Cao-0/+14
2018-05-31Rollup merge of #51240 - nnethercote:parse-2, r=nikomatsakisGuillaume Gomez-5/+3
2018-05-31Avoid an unnecessary `match` when lexing "<-".Nicholas Nethercote-5/+1
2018-05-31Tweak identifer lexing.Nicholas Nethercote-0/+2
2018-05-28Auto merge of #50724 - zackmdavis:applicability_rush, r=Manishearthbors-6/+7
2018-05-26Fix testEsteban Küber-4/+8
2018-05-25in which we check for confusable Unicodepoints in float literal exponentZack M. Davis-5/+12
2018-05-22Auto merge of #50838 - alexcrichton:token-impls, r=eddybbors-17/+40
2018-05-20suggestion applicabilities for libsyntax and librustc, run-rustfix testsZack M. Davis-6/+7
2018-05-20lexer: Fix span override for the first token in a stringVadim Petrochenkov-9/+12
2018-05-18rustc: Fix joint-ness of stringified token-streamsAlex Crichton-17/+40
2018-05-18Auto merge of #50307 - petrochenkov:keyhyg2, r=nikomatsakisbors-1/+1
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-1/+1
2018-05-15Represent lifetimes as two joint tokens in proc macrosVadim Petrochenkov-4/+1
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-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-04-12Change the hashcounts in raw `Lit` variants from usize to u16.Nicholas Nethercote-3/+3
2018-04-12Deprecate the std_unicode crateSimon Sapin-1/+1
2018-04-10Auto merge of #49390 - Zoxc:sync-syntax, r=michaelwoeristerbors-5/+4
2018-04-06Use `Span` instead of `SyntaxContext` in `Ident`Vadim Petrochenkov-1/+1
2018-03-28Make ParseSess thread-safeJohn Kåre Alsaker-5/+4
2018-03-18Move raw_identifiers check to the lexer.Lymia Aluysia-0/+4
2018-03-18Feature gate raw identifiers.Lymia Aluysia-0/+1
2018-03-18Initial implementation of RFC 2151, Raw IdentifiersLymia Aluysia-23/+46
2018-03-18Auto merge of #48917 - petrochenkov:import, r=oli-obkbors-1/+1
2018-03-17Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi`Vadim Petrochenkov-1/+1
2018-03-17syntax: Make `_` an identifierVadim Petrochenkov-10/+4
2018-03-15Use a single Lock for CodeMap.stable_id_to_filemap and CodeMap.filesJohn Kåre Alsaker-1/+1
2018-03-14Remove syntax and syntax_pos thread localsJohn Kåre Alsaker-116/+143
2018-03-08Move REGISTERED_DIAGNOSTICS to a ParseSess fieldJohn Kåre Alsaker-0/+3
2018-03-04Add note for unterminated raw string errorGuillaume Gomez-8/+25
2018-03-02Replace Rc with Lrc for shared dataJohn Kåre Alsaker-22/+20
2018-02-01Improve char escaping in lexer messagesRyan Cumming-12/+19
2018-01-29Toggle span highlighting on `-Zteach`Esteban Küber-0/+1