2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-19 04:22:13 +00:00

1075 Commits

Author SHA1 Message Date
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
Zach Laine
6eff874647 Vexing parse avoidance. 2017-05-01 19:45:15 -05:00
Zach Laine
58ccb905b6 Add TODOs. 2017-05-01 18:56:47 -05:00
Zach Laine
4ddb35a3a9 Produce warnings and errors based on the version in %YAML directives. 2017-05-01 01:07:07 -05:00
Zach Laine
89ad7f83e4 Check that any BOM encounered indicates UTF-8. 2017-05-01 01:07:02 -05:00
Zach Laine
b83fa0178c Remove mooted TODOs. 2017-05-01 00:31:28 -05:00
Zach Laine
f685852925 Make the alias_t shared_ptr point to const. 2017-04-30 23:09:50 -05:00
Zach Laine
8317aeb942 typedef -> using 2017-04-30 21:25:34 -05:00
Zach Laine
9abcb3dd0f Alter error reporting to report errors and warnings via user-supplied
callbacks; if you error callback is supplied, and exception results.
2017-04-30 21:25:34 -05:00
Zach Laine
a79a17571c Add TODO. 2017-04-30 21:20:04 -05:00
Zach Laine
83f3dcda12 Fix segfaults caused by errors in value_t hashing. 2017-04-30 11:30:57 -05:00
Zach Laine
32c2b51b80 Allow equality comparisons of value_t with different active members. 2017-04-30 10:52:25 -05:00
Zach Laine
6688b864d9 Cruft removal. 2017-04-30 10:52:25 -05:00
Zach Laine
439bb42b52 Remove incorrect whitespace separators in block_header. 2017-04-30 10:52:25 -05:00
Zach Laine
98e4efbd47 Remove simplifying assumption in tests that each input file contains only one
document.
2017-04-30 10:52:18 -05:00
Zach Laine
f3c364cc85 Fix broken use of YAML_PARSER_PRINT_INDENT when BOOST_SPIRIT_DEBUG is
undefined.
2017-04-30 01:08:07 -05:00
Zach Laine
b5e25fc867 Apparently <TAB> means \t in the input test data. Sigh. 2017-04-30 01:07:42 -05:00
Zach Laine
17ac5cc43f Fix horribly mistaken guess at what the unexplained "m" parameter in
s-l+block-indented(n,c) meant in the spec.
2017-04-30 00:45:44 -05:00
Zach Laine
bf11a1e0ca Correct ?:- >> plain_safe case of plain_first. 2017-04-30 00:03:04 -05:00
Zach Laine
eeadbb0502 Cruft removal. 2017-04-30 00:01:04 -05:00
Zach Laine
84209639c7 Serveral interconencted changes:
- anchored_node_t -> properties_node_t
- Correctly handle anchors and aliases, plus retention of propertieswhen
  specified (tags TBD).
- Remove now-moot link_yaml().

This makes ast::value_t Regular.
2017-04-29 23:20:08 -05:00
Zach Laine
03540bc4ea Correct auto-detected indentation on block mappings. 2017-04-29 18:39:56 -05:00
Zach Laine
1586e87bba Apply YAML_PARSER_PRINT_INDENT in more places. 2017-04-29 18:34:31 -05:00
Zach Laine
59103f136a Add very simple test to exercise the flow plain parsers. 2017-04-29 16:59:50 -05:00
Zach Laine
3856349be9 Add indentation printer for use in debugging throughout the parsers. 2017-04-29 16:58:28 -05:00
Zach Laine
8ea8946b5a Correct handling of nschar >> '#' case of plain_char. 2017-04-29 16:18:30 -05:00
Zach Laine
e960469747 Disbale Spirit debugging for n{b,s}_char. 2017-04-29 16:17:10 -05:00
Zach Laine
7dbc296088 std::string -> char for several character parsers. 2017-04-28 21:36:31 -05:00
Zach Laine
86b5db7dc1 Disable Spirit debugging for no-op whitespace parsers. 2017-04-28 21:35:53 -05:00
Zach Laine
67e67afc3e Add ASan and UBSan build support. 2017-04-28 21:19:39 -05:00
Zach Laine
1ed16473ad Add omit[] to more places in the flow parsers; this fixes many results, but
not parsing.
2017-04-28 00:37:07 -05:00