Skip to content

Commit 4cc86e9

Browse files
committed
Don't include tao/pegtl.hpp.
1 parent 7173a4c commit 4cc86e9

File tree

10 files changed

+51
-8
lines changed

10 files changed

+51
-8
lines changed

include/tao/json/cbor/internal/grammar.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
#include <string_view>
1414
#include <utility>
1515

16-
#include <tao/pegtl.hpp>
16+
#include <tao/pegtl/apply_mode.hpp>
17+
#include <tao/pegtl/parse_error.hpp>
18+
#include <tao/pegtl/rewind_mode.hpp>
19+
#include <tao/pegtl/rules.hpp>
20+
#include <tao/pegtl/type_list.hpp>
1721

1822
#include "major.hpp"
1923

include/tao/json/contrib/schema.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
#include <string>
1616
#include <type_traits>
1717

18-
#include <tao/pegtl.hpp>
18+
#include <tao/pegtl/ascii.hpp>
19+
#include <tao/pegtl/memory_input.hpp>
20+
#include <tao/pegtl/parse.hpp>
21+
#include <tao/pegtl/rules.hpp>
22+
1923
#include <tao/pegtl/contrib/uri.hpp>
2024

2125
#include "reference.hpp"

include/tao/json/internal/grammar.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
#ifndef TAO_JSON_INTERNAL_GRAMMAR_HPP
55
#define TAO_JSON_INTERNAL_GRAMMAR_HPP
66

7-
#include <tao/pegtl.hpp>
7+
#include <tao/pegtl/ascii.hpp>
8+
#include <tao/pegtl/rules.hpp>
9+
#include <tao/pegtl/utf8.hpp>
10+
811
#include <tao/pegtl/contrib/abnf.hpp>
912

1013
namespace tao::json::internal

include/tao/json/jaxn/internal/grammar.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66

77
#include <cctype>
88

9-
#include <tao/pegtl.hpp>
9+
#include <tao/pegtl/ascii.hpp>
10+
#include <tao/pegtl/parse_error.hpp>
11+
#include <tao/pegtl/rules.hpp>
12+
#include <tao/pegtl/utf8.hpp>
13+
1014
#include <tao/pegtl/contrib/abnf.hpp>
1115

1216
namespace tao::json::jaxn::internal

include/tao/json/jaxn/internal/integer.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
#include <string_view>
1212
#include <type_traits>
1313

14-
#include <tao/pegtl.hpp>
14+
#include <tao/pegtl/ascii.hpp>
15+
#include <tao/pegtl/parse.hpp>
16+
#include <tao/pegtl/rules.hpp>
17+
#include <tao/pegtl/nothing.hpp>
18+
#include <tao/pegtl/parse_error.hpp>
19+
1520
#include <tao/pegtl/contrib/integer.hpp>
1621

1722
#include "../../internal/parse_util.hpp"

include/tao/json/msgpack/internal/grammar.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
#include <cstdint>
99
#include <string_view>
1010

11-
#include <tao/pegtl.hpp>
11+
#include <tao/pegtl/apply_mode.hpp>
12+
#include <tao/pegtl/parse_error.hpp>
13+
#include <tao/pegtl/rewind_mode.hpp>
14+
#include <tao/pegtl/rules.hpp>
15+
#include <tao/pegtl/type_list.hpp>
1216

1317
#include "../../binary_view.hpp"
1418
#include "../../internal/format.hpp"

include/tao/json/parts_parser.hpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
#ifndef TAO_JSON_PARTS_PARSER_HPP
55
#define TAO_JSON_PARTS_PARSER_HPP
66

7-
#include <tao/pegtl.hpp>
7+
#include <tao/pegtl/ascii.hpp>
8+
#include <tao/pegtl/change_states.hpp>
9+
#include <tao/pegtl/nothing.hpp>
10+
#include <tao/pegtl/parse.hpp>
11+
#include <tao/pegtl/parse_error.hpp>
12+
#include <tao/pegtl/rules.hpp>
13+
#include <tao/pegtl/string_input.hpp>
14+
815
#include <tao/pegtl/contrib/integer.hpp>
916
#include <tao/pegtl/contrib/json.hpp>
1017

include/tao/json/pointer.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
#include <utility>
1313
#include <vector>
1414

15-
#include <tao/pegtl.hpp>
15+
#include <tao/pegtl/ascii.hpp>
16+
#include <tao/pegtl/memory_input.hpp>
17+
#include <tao/pegtl/parse.hpp>
18+
#include <tao/pegtl/rules.hpp>
19+
#include <tao/pegtl/utf8.hpp>
1620

1721
#include "type.hpp"
1822

include/tao/json/ubjson/internal/grammar.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
#include <cstdint>
88
#include <string_view>
99

10+
#include <tao/pegtl/memory_input.hpp>
11+
#include <tao/pegtl/parse.hpp>
12+
#include <tao/pegtl/parse_error.hpp>
13+
#include <tao/pegtl/rules.hpp>
14+
#include <tao/pegtl/type_list.hpp>
15+
1016
#include "../../binary_view.hpp"
1117
#include "../../internal/action.hpp"
1218
#include "../../internal/endian.hpp"

src/test/json/cbor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
#include "make_events.hpp"
88

9+
#include <tao/pegtl/internal/file_reader.hpp>
10+
911
#include <tao/json/from_string.hpp>
1012
#include <tao/json/to_string.hpp>
1113

0 commit comments

Comments
 (0)