Zach Laine
|
2b5c58d34e
|
Fix badly broken handling of block scalars.
|
2017-05-10 13:26:44 -05:00 |
|
Zach Laine
|
77ea53a917
|
Mark a couple more expected failures, and fix part of the CMake failure
auto-marking.
|
2017-05-10 13:26:44 -05:00 |
|
Zach Laine
|
8d80390b3e
|
Change .tml section stripping to elide the extra newline at the end of each section.
|
2017-05-10 12:14:17 -05:00 |
|
Zach Laine
|
80aaa62a4f
|
Add print_yaml_canonical(), and use this in the parse-compare tests.
|
2017-05-09 15:38:55 -05:00 |
|
Zach Laine
|
272f55b9ad
|
Value-compare (instead of pointer-comparing) alias_t referents in value_equal.
|
2017-05-09 12:31:13 -05:00 |
|
Zach Laine
|
e735e0fd48
|
Fix CMake marking of known parse-only failures as expected comparison test
failures as well.
|
2017-05-08 23:31:59 -05:00 |
|
Zach Laine
|
c5010cea17
|
Annotate some obviously broken comparison tests as expected failures.
|
2017-05-08 23:03:01 -05:00 |
|
Zach Laine
|
2f29b7930d
|
Remove unwarranted asserts from yaml_printer and map_t.
|
2017-05-08 22:37:39 -05:00 |
|
Zach Laine
|
a64eeeed3d
|
Allow comparisons between properties_node_t and value_t in value_equal.
|
2017-05-08 22:16:06 -05:00 |
|
Zach Laine
|
f53d18d64f
|
Add tests for comparing the in-yaml, out-yaml, and json sections from the .tml
test files.
|
2017-05-08 22:15:02 -05:00 |
|
Zach Laine
|
405269423c
|
Modify make_test_suite_yaml.py to create files for the out-yaml and json
sections as well.
|
2017-05-08 20:38:10 -05:00 |
|
Zach Laine
|
d2fc6305bb
|
Another large refactor, this time to support UTF-8 streams.
|
2017-05-08 17:23:21 -05:00 |
|
Zach Laine
|
2b69ae79c8
|
Effectively constrain all the parser templates by enforcing their use of
Spirit's position_iterator<>. Also, give each parser a "_t" suffix.
|
2017-05-07 15:08:34 -05:00 |
|
Zach Laine
|
1bd2eb7d36
|
Second half of the BOM-handling refactor.
|
2017-05-07 12:37:39 -05:00 |
|
Zach Laine
|
7e208d7085
|
First half of a largish refactor that allows BOMs to be handled correctly.
|
2017-05-06 14:29:10 -05:00 |
|
Zach Laine
|
d4d41e4166
|
Change error_handler_t to handle CRLF endings.
|
2017-05-06 12:25:04 -05:00 |
|
Zach Laine
|
edfc5c4f6d
|
boost::optional instead of out-param for parse_yaml().
|
2017-05-05 16:01:15 -05:00 |
|
Zach Laine
|
dbdce9abc3
|
Mark XW4D as an expected failure.
|
2017-05-05 01:03:05 -05:00 |
|
Zach Laine
|
e1330ea52d
|
Yet another error_handler_t line quoting fix.
|
2017-05-05 01:01:44 -05:00 |
|
Zach Laine
|
90f78dcd09
|
Reorder alternatives in flow_map_implicit_entry and flow_content so that JSON
content is before YAML.
|
2017-05-05 00:33:22 -05:00 |
|
Zach Laine
|
682c0ff55f
|
Clarify reason that NHX8 and P94K are marked as expected failures.
|
2017-05-05 00:13:19 -05:00 |
|
Zach Laine
|
b80ef8eb3c
|
Correct >> vs. | typo in single_next_line.
|
2017-05-05 00:00:40 -05:00 |
|
Zach Laine
|
630032589c
|
Mark NHX8 and P94K as expected failures.
|
2017-05-04 21:20:43 -05:00 |
|
Zach Laine
|
42bdb97e5a
|
Reorder alternatives in plain_char for maximum munch.
|
2017-05-04 21:06:55 -05:00 |
|
Zach Laine
|
b2b037421e
|
Remove more over-eager expectations.
|
2017-05-04 20:57:01 -05:00 |
|
Zach Laine
|
ef079eb204
|
Fix empty quoted line in error_handler_t.
|
2017-05-04 20:52:19 -05:00 |
|
Zach Laine
|
1e05c2171c
|
Fix misbehaving nb_json.
|
2017-05-04 20:40:50 -05:00 |
|
Zach Laine
|
ab435ad08b
|
Stop accepting characters when "\n..." or "\n---" is encountered when parsing
flow plain or block literals.
|
2017-05-04 19:46:13 -05:00 |
|
Zach Laine
|
bd56b2eaff
|
Remove over-eager expectations in yaml_directive.
|
2017-05-04 18:21:09 -05:00 |
|
Zach Laine
|
2b6a1a8adc
|
Apply context checks consistently.
|
2017-05-04 01:16:17 -05:00 |
|
Zach Laine
|
43d72bf54e
|
Remove incorrect equivalence of c-printable and nb-json.
|
2017-05-04 01:16:16 -05:00 |
|
Zach Laine
|
952571af8d
|
Use the proper definition of separate_in_line.
|
2017-05-04 00:26:46 -05:00 |
|
Zach Laine
|
2241850a94
|
Cruft removal.
|
2017-05-03 23:52:58 -05:00 |
|
Zach Laine
|
34f22752a5
|
Remove unnecessary spec violation.
|
2017-05-03 01:05:11 -05:00 |
|
Zach Laine
|
682bd04c1b
|
Modify the horrible eoi hack to be less so, and to work in the remaining
unsupported cases.
|
2017-05-03 00:43:51 -05:00 |
|
Zach Laine
|
ec9be6a771
|
Don't expect escaped_percent_27NA.yml to be treated as an error.
|
2017-05-02 20:38:05 -05:00 |
|
Zach Laine
|
6832be2621
|
Update yaml-test-suite, and support its new error-tagged tests.
|
2017-05-02 20:23:14 -05:00 |
|
Zach Laine
|
c4ea43f4e4
|
Grooming.
|
2017-05-02 20:14:07 -05:00 |
|
Zach Laine
|
bb3448d250
|
Mark 2SXE as an expected failure.
|
2017-05-02 20:13:56 -05:00 |
|
Zach Laine
|
9845bf105d
|
Fix an error in block_collection, and cerate and use a way to detect beginning
of a line.
|
2017-05-02 18:03:33 -05:00 |
|
Zach Laine
|
7c16f82b18
|
Correct errors in the positions reported by error_handler_t.
|
2017-05-02 18:03:33 -05:00 |
|
Zach Laine
|
1b6e4be895
|
Use line and column info in position_iterator in the error handler.
|
2017-05-02 18:03:33 -05:00 |
|
Zach Laine
|
3dbd9d4dd2
|
Fix improperly placed separate before the closing bracket/brace in flow
maps/seqs.
|
2017-05-02 18:03:26 -05:00 |
|
Zach Laine
|
7f8684191c
|
Correct typo in test/CMakeLists.txt.
|
2017-05-01 21:26:55 -05:00 |
|
Zach Laine
|
202cb3318a
|
Don't require test input files to contain at least one document.
|
2017-05-01 21:26:55 -05:00 |
|
Zach Laine
|
3f7e0cba2c
|
Apparently <SPC> means ' ' in the input test data. Sigh again.
|
2017-05-01 21:26:55 -05:00 |
|
Zach Laine
|
d0012784f2
|
Remove over-eager expectations from parsers.
|
2017-05-01 21:21:41 -05:00 |
|
Zach Laine
|
d27b7c06cd
|
Correct c-printable/qi::print confusion.
|
2017-05-01 21:21:41 -05:00 |
|
Zach Laine
|
a3d3891f18
|
Disallow indicator characters (as opposed to flow-indicator ones) in
anchor_property. This is at variance with the spec.
|
2017-05-01 21:21:34 -05:00 |
|
Zach Laine
|
2e6da7bc20
|
Correct and simplify end_of_input.
|
2017-05-01 19:45:15 -05:00 |
|