aboutsummaryrefslogtreecommitdiff
path: root/src/parser.rs
AgeCommit message (Collapse)AuthorLines
2016-01-21Address issues found by rust-clippyCorey Farwell-11/+11
2015-10-07Allow BOM (Byte order mark) in tomlosboxes.org-0/+9
2015-09-30Add Clone derive on ParserErrorGuillaume Gomez-1/+1
2015-08-14Fix the arithmetic overflow in Parser::to_linecolAlex Gulyás-1/+1
This also changes the calculated line and column numbers. Without this patch, if an error occurs at the end of a line, the returned line and column numbers will point at the start of the next line. After this patch, the line and column numbers will correctly point at the end of the line where the actual parse error happened.
2015-06-08Name the fields of the custom table ASTAlex Crichton-23/+32
2015-06-07Add a few more tests for redefining tablesAlex Crichton-4/+19
2015-06-07Clean up more styleAlex Crichton-51/+33
2015-06-07Use deref coercionsAlex Crichton-2/+3
2015-06-07Re-structure control flow a bit + modernizationAlex Crichton-52/+35
2015-06-06Rework fix for table redefinition to avoid breaking AST-compatiblityAndrzej Janik-24/+103
2015-06-04Disallow table redefinitionsAndrzej Janik-19/+32
2015-04-01Bump to 0.1.20Alex Crichton-2/+1
2015-03-15Improve test coverageAlex Crichton-0/+72
2015-03-09Reduce usage of unstable featuresAlex Crichton-3/+5
2015-02-23Move away from deprecated syntaxAlex Crichton-2/+2
2015-02-11Add support for numbers with underscoresAlex Crichton-20/+87
2015-02-07Implement parsing of inline tablesAlex Crichton-2/+46
2015-02-03Bump to 0.1.16Alex Crichton-4/+4
2015-01-27Migrate to as many stable functions as possibleAlex Crichton-23/+27
2015-01-23Bump to 0.1.15Alex Crichton-6/+12
2015-01-20Remove slash as an escapeable characterAlex Crichton-1/+0
2015-01-19Don't infinite loop on bad keysAlex Crichton-1/+6
2015-01-15Update key syntax to TOML masterAlex Crichton-90/+110
* Bare keys contain a very limited set of characters now. * Keys in quotes behave the same as basic strings. Closes #47
2015-01-15Add some tests from the specAlex Crichton-0/+4
2015-01-15Implement new rules for bare key namesAlex Crichton-40/+86
* Key names are restricted to [a-zA-Z0-9_-] * Equal signs must be on the same line (as must the next value) as the key * Quoted keys are allowed and are parsed as basic strings. Closes #48
2015-01-15Expand float parsing to include exponentsAlex Crichton-31/+88
Closes #50
2015-01-15Disallow leading 0s in integers/floatsAlex Crichton-1/+26
2015-01-15Audit string parsing, fixing a few bugs here and thereAlex Crichton-17/+36
Closes #51
2015-01-15Tighten up CRLF parsingAlex Crichton-37/+69
Fix lots of false positives with stray \r characters and also fix CRFL parsing in raw string literals with escapes. Closes #49
2015-01-15Fix parsing leading `+` on numbersAlex Crichton-4/+5
2015-01-09Bump to 0.1.11Alex Crichton-18/+18
2015-01-08Update to masterValerii Hiora-4/+4
- features - macro reform - String/Show split in formatter - staging
2015-01-03Update to masterValerii Hiora-2/+2
- updated `rustc-serialize` dependency, in other case `toml-rs` prohibits `rustc-serialize` update on other crates - updated after syntax and lib changes
2015-01-01Update to rust masterAlex Crichton-1/+1
2014-12-23Update to rust masterAlex Crichton-3/+3
2014-12-20Update to rust masterAlex Crichton-5/+5
2014-12-18Update to last rust.Victor Berger-7/+7
2014-12-12Update to rust masterAlex Crichton-9/+9
2014-12-11Fix parsing nested tables in arraysAlex Crichton-12/+68
Closes #36
2014-12-06Update to rust masterAlex Crichton-2/+2
Closes #34
2014-11-22Fixing build errors with latest rustMarkus Kobler-18/+22
2014-11-18Update to namespaced enum variants.Victor Berger-5/+7
2014-11-06Update to rust masterAlex Crichton-5/+5
2014-11-04Implement the libstd error trait for errorsAlex Crichton-0/+6
2014-10-30Fix \r\n on multiline strings and add commentsAdolfo Ochagavía-1/+19
2014-10-11Fix deprecation warnings: push_char => pushLouis Morgan-9/+9
2014-09-21Update to rust masterAlex Crichton-14/+14
Closes #19
2014-09-17Updated to _mut conventionsValerii Hiora-2/+2
2014-08-17Rename parser::Error to parser::ParseErrorBrian Koropoff-28/+28
This avoids a conflict with serialization::Error and actually re-exports it from the crate root as intended. It also fixes a build break due to the new import shadowing gate in rustc.
2014-07-18Disambiguate "" empty strings from multiline strings properly.Huon Wilson-4/+9
Previously `""` would go into multiline mode and thus *require* a following ".