Commit graph

32 commits

Author SHA1 Message Date
Alex Crichton 5f2c7b4986 Tighten up CRLF parsing
Fix lots of false positives with stray \r characters and also fix CRFL parsing
in raw string literals with escapes.

Closes #49
2015-01-15 15:10:42 -08:00
Alex Crichton 9dd46d6fbf Fix parsing leading + on numbers 2015-01-15 14:27:55 -08:00
Alex Crichton d4319caa20 Bump to 0.1.11 2015-01-09 11:50:54 -08:00
Valerii Hiora 1dfb94afba Update to master
- features
- macro reform
- String/Show split in formatter
- staging
2015-01-08 19:50:03 +02:00
Valerii Hiora 887e5ff844 Update to master
- updated `rustc-serialize` dependency, in other case `toml-rs`
  prohibits `rustc-serialize` update on other crates
- updated after syntax and lib changes
2015-01-03 18:01:19 +02:00
Alex Crichton 2557fc9ab9 Update to rust master 2015-01-01 08:48:47 -08:00
Alex Crichton 31ee496621 Update to rust master 2014-12-23 08:01:45 -08:00
Alex Crichton 95c6161dce Update to rust master 2014-12-20 22:35:30 -08:00
Victor Berger 5882522112 Update to last rust. 2014-12-18 10:31:20 +01:00
Alex Crichton 4dce070c70 Update to rust master 2014-12-12 13:19:22 -08:00
Alex Crichton f9408377c9 Fix parsing nested tables in arrays
Closes #36
2014-12-11 22:30:32 -08:00
Alex Crichton 6e4e8251b1 Update to rust master
Closes #34
2014-12-06 14:51:51 -08:00
Markus Kobler d0519edd21 Fixing build errors with latest rust 2014-11-22 13:20:55 +00:00
Victor Berger bfcfa89e95 Update to namespaced enum variants. 2014-11-18 09:19:13 +01:00
Alex Crichton ac6f3b27e0 Update to rust master 2014-11-06 22:11:52 -08:00
Alex Crichton 78acb5081d Implement the libstd error trait for errors 2014-11-04 11:56:11 -08:00
Adolfo Ochagavía 9f668fd541 Fix \r\n on multiline strings and add comments 2014-10-30 21:49:47 +01:00
Louis Morgan 46f3872415 Fix deprecation warnings: push_char => push 2014-10-11 18:04:44 +01:00
Alex Crichton 22ad6e7ea9 Update to rust master
Closes #19
2014-09-21 07:55:19 -07:00
Valerii Hiora 25703d5f79 Updated to _mut conventions 2014-09-17 10:00:15 +03:00
Brian Koropoff 04827b4d07 Rename parser::Error to parser::ParseError
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-08-17 16:46:08 -07:00
Huon Wilson e756f56b62 Disambiguate "" empty strings from multiline strings properly.
Previously `""` would go into multiline mode and thus *require* a
following ".
2014-07-18 20:20:45 +10:00
Alex Crichton 3a7ec7f4c4 Update an error message with \U support 2014-07-15 19:13:42 -07:00
Alex Crichton 98a5e0e244 Implement multiline string literals
While I'm at it, implement literal strings as well.

Closes #5
2014-07-15 19:00:50 -07:00
Alex Crichton 5b6053fdac Support \U escapes in strings 2014-07-15 18:43:00 -07:00
Alex Crichton b4a4ed72d7 Migrate to a TreeMap for determinism 2014-07-15 17:30:00 -07:00
Alex Crichton caf4071137 Add a CRLF test 2014-06-26 19:27:42 -07:00
Daniel Trebbien 8524f2b2c2 Fix "error: cannot determine the type of this integer" 2014-06-25 08:42:46 -04:00
Alex Crichton b663d6ae99 Handle \r\n 2014-06-23 22:28:53 -07:00
Alex Crichton cd4fede072 Add a method for converting to (line, column) 2014-06-23 08:58:44 -07:00
Alex Crichton 3bbf216491 Add documentation and examples 2014-06-20 17:30:08 -07:00
Alex Crichton 11115f13a3 Initial commit 2014-06-20 17:01:38 -07:00