Skip to content

Commit d1781ff

Browse files
authored
Merge pull request #154 from wravery/main
Update PEGTL dependency to 3.2.0
2 parents ecec3d0 + 2e3bc50 commit d1781ff

File tree

4 files changed

+4
-17
lines changed

4 files changed

+4
-17
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ endfunction()
6666

6767
find_package(Threads MODULE REQUIRED)
6868

69-
find_package(pegtl 3.1.0 QUIET CONFIG)
69+
find_package(pegtl 3.2.0 QUIET CONFIG)
7070
if(NOT pegtl_FOUND)
7171
# If a compatible version of PEGTL is not already installed, build and install it from the submodule directory.
7272
set(PEGTL_BUILD_TESTS OFF CACHE BOOL "Disable PEGTL tests")

PEGTL

Submodule PEGTL updated 378 files

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ means you need to include an acknowledgement along with the license text.
6767

6868
### graphqlpeg
6969

70-
- GraphQL parsing: [Parsing Expression Grammar Template Library (PEGTL)](https://github.com/taocpp/PEGTL) release 3.1.1,
70+
- GraphQL parsing: [Parsing Expression Grammar Template Library (PEGTL)](https://github.com/taocpp/PEGTL) release 3.2.0,
7171
which is part of [The Art of C++](https://taocpp.github.io/) library collection. I've added this as a sub-module, so you
72-
do not need to install this separately. If you already have 3.1.1 installed where CMake can find it, it will use that
72+
do not need to install this separately. If you already have 3.2.0 installed where CMake can find it, it will use that
7373
instead of the sub-module and avoid installing another copy of PEGTL.
7474

7575
### graphqlservice

include/graphqlservice/GraphQLTree.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,6 @@
1313
#include <tao/pegtl.hpp>
1414
#include <tao/pegtl/contrib/parse_tree.hpp>
1515

16-
// Temporarily workaround the tao::demangle namespace in 3.1.0. This was fixed in PEGTL commit
17-
// https://github.com/taocpp/PEGTL/commit/0cc3128e07734fb72e23e2eeee70b9f1fc13ca5f, which put this
18-
// in the correct namespace defined by TAO_PEGTL_NAMESPACE (tao::graphqlpeg) and should be included
19-
// in 3.1.1 or later. Once that version of PEGTL is released, this can be removed.
20-
#include <tao/pegtl/version.hpp>
21-
22-
#if (TAO_PEGTL_VERSION_MAJOR == 3) && (TAO_PEGTL_VERSION_MINOR == 1) \
23-
&& (TAO_PEGTL_VERSION_PATCH < 1)
24-
namespace tao::graphqlpeg {
25-
using ::tao::demangle;
26-
}
27-
#endif
28-
2916
#include <string>
3017
#include <string_view>
3118
#include <variant>

0 commit comments

Comments
 (0)