about summary refs log tree commit diff
path: root/src/libsyntax/parse/lexer/mod.rs
AgeCommit message (Expand)AuthorLines
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
2015-03-28cleanup: Remove unused braces in use statementsRicho Healey-1/+1
2015-03-27Prevent ICEs when parsing invalid escapes, closes #23620Florian Hahn-11/+29
2015-03-25Add trivial cast lints.Nick Cameron-2/+2
2015-03-20don't use Result::ok just to be able to use unwrap/unwrap_orOliver Schneider-2/+2
2015-03-17std: Tweak some unstable features of `str`Alex Crichton-7/+9
2015-03-13Fallout of std::old_io deprecationAlex Crichton-2/+2
2015-03-06syntax: Remove deprecated unicode escapesAlex Crichton-22/+2
2015-03-05Rollup merge of #22764 - ivanradanov:fileline_help, r=huonwManish Goregaokar-1/+1
2015-03-04Encode codemap and span information in crate metadata.Michael Woerister-12/+21
2015-03-03Switched to Box::new in many places.Felix S. Klock II-2/+3
2015-03-03Change span_help calls to fileline_help where appropriateIvan Radanov Ivanov-1/+1
2015-02-20Remove remaining uses of `[]`. This time I tried to use deref coercions where...Niko Matsakis-1/+1
2015-02-18Round 3 test fixes and conflictsAlex Crichton-3/+2
2015-02-18Replace all uses of `&foo[]` with `&foo[..]` en masse.Niko Matsakis-4/+4