summary refs log tree commit diff
path: root/src/libsyntax/parse/lexer/mod.rs
AgeCommit message (Expand)AuthorLines
2016-08-07Fix old call in lexer testsJonathan Turner-3/+1
2016-07-14Remove BasicEmitterJonathan Turner-1/+1
2016-07-03prefer `if let` to match with `None => {}` arm in some placesZack M. Davis-8/+5
2016-06-23make old school mode a bit more configurableJonathan Turner-1/+4
2016-06-23Address more travis errorsJonathan Turner-1/+1
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-23/+24
2016-06-16Add an abs_path member to FileMap, use it when writing debug info.Ted Mielczarek-1/+1
2016-05-02lexer: do not display char confusingly in error messageGeorg Brandl-5/+4
2016-04-27Make some fatal lexer errors recoverablemitaa-66/+103
2016-04-24syntax: Check paths in visibilities for type parametersVadim Petrochenkov-10/+4
2016-04-24syntax: Get rid of token::IdentStyleVadim Petrochenkov-25/+10
2016-03-07Auto merge of #29734 - Ryman:whitespace_consistency, r=Aatchbors-10/+10
2016-01-16libsyntax: accept only whitespace with the PATTERN_WHITE_SPACE propertyKevin Butler-7/+10
2016-01-14libsyntax: use char::is_whitespace instead of custom implementationsKevin Butler-4/+1
2016-01-14Display better snippet for invalid char literalGreg Chapple-10/+15
2016-01-12re-instate comment that was mysteriously disappearedTshepang Lekhonkhobe-0/+1
2016-01-03fix "make tidy" failureTshepang Lekhonkhobe-1/+2
2016-01-03run rustfmt on syntax::parse::lexerTshepang Lekhonkhobe-462/+693
2015-12-30use structured errorsNick Cameron-21/+42
2015-12-17test errorsNick Cameron-27/+51
2015-12-17move error handling from libsyntax/diagnostics.rs to libsyntax/errors/*Nick Cameron-9/+8
2015-11-17Detect confusing unicode characters and show the alternativeRavi Shankar-1/+3
2015-11-05Improve error message for char literalsSteve Klabnik-5/+6
2015-10-27Start pushing panics outward in lexer.Eli Friedman-33/+37
2015-10-10Prevent `/**/` from being parsed as a doc commentBarosl Lee-2/+3
2015-09-03Use consistent terminology for byte string literalsVadim Petrochenkov-4/+4
2015-07-29Replace illegal with invalid in most diagnosticsSimonas Kazlauskas-8/+8
2015-07-21Use a span from the correct file for the inner span of a moduleNick Cameron-0/+1
2015-07-13Tell unicode escapes can’t be used as bytes earlier/moreSimonas Kazlauskas-16/+14
2015-07-10Improve some of the string escape diagnostic spansSimonas Kazlauskas-6/+4
2015-07-10Improve incomplete unicode escape reportingSimonas Kazlauskas-5/+19
2015-07-01Make the unused_mut lint smarter with respect to locals.Ariel Ben-Yehuda-1/+1
2015-06-22fix minor indentation issuesYongqian Li-13/+13
2015-05-17Auto merge of #25387 - eddyb:syn-file-loader, r=nikomatsakisbors-2/+2
2015-05-14Fix stupid mistake from previous commitLee Jeffery-2/+5
2015-05-14Make BytePos calculation same as originalLee Jeffery-1/+2
2015-05-14syntax: refactor (Span)Handler and ParseSess constructors to be methods.Eduard Burtescu-2/+2
2015-05-13Added test to check that newlines are stripped from commentsLee Jeffery-0/+9
2015-05-13Fix byte offset and error message inconsistenciesLee Jeffery-3/+3
2015-05-08Fix CRLF line-ending parsing for comments.Lee Jeffery-24/+26
2015-04-25Interpolate AST nodes in quasiquote.Geoffry Song-107/+0
2015-04-24Change name of unit test sub-module to "tests".Johannes Oertel-1/+1
2015-04-21syntax: Copy unstable str::char_at into libsyntaxErick Tryzelaar-9/+10
2015-04-21syntax: remove uses of `.into_cow()`Erick Tryzelaar-4/+4
2015-04-13Added a help span which informs the user about the escaping of curly braces i...Manuel Hoffmann-1/+7
2015-04-05Work towards a non-panicing parser (libsyntax)Phil Dawes-2/+2
2015-03-31rollup merge of #23872: huonw/eager-lexingAlex Crichton-14/+26
2015-03-31Stabilize std::numAaron Turon-4/+3
2015-03-31Lex binary and octal literals more eagerly.Huon Wilson-13/+25
2015-03-28Rollup merge of #23803 - richo:unused-braces, r=ManishearthManish Goregaokar-1/+1