Use the definitions from (newer) upstream PEGTL. diff --git a/include/gemmi/cif.hpp b/include/gemmi/cif.hpp index c7ffdb44..35d24210 100644 --- a/include/gemmi/cif.hpp +++ b/include/gemmi/cif.hpp @@ -37,7 +37,6 @@ namespace pegtl = tao::pegtl; namespace rules { template struct lookup_char { - using analyze_t = pegtl::analysis::generic; template static bool match(Input& in) { if (!in.empty() && cif::char_table(in.peek_char()) == TableVal) { if (TableVal == 2) // this set includes new-line @@ -71,11 +70,11 @@ namespace rules { struct ws_or_eof : pegtl::sor {}; // (b) Reserved words. - struct str_data : TAOCPP_PEGTL_ISTRING("data_") {}; - struct str_loop : TAOCPP_PEGTL_ISTRING("loop_") {}; - struct str_global : TAOCPP_PEGTL_ISTRING("global_") {}; - struct str_save : TAOCPP_PEGTL_ISTRING("save_") {}; - struct str_stop : TAOCPP_PEGTL_ISTRING("stop_") {}; + struct str_data : TAO_PEGTL_ISTRING("data_") {}; + struct str_loop : TAO_PEGTL_ISTRING("loop_") {}; + struct str_global : TAO_PEGTL_ISTRING("global_") {}; + struct str_save : TAO_PEGTL_ISTRING("save_") {}; + struct str_stop : TAO_PEGTL_ISTRING("stop_") {}; struct keyword : pegtl::sor {}; f='/guix/diff/gnu/home.scm?id=10d0e2d3110e4be2bc6cfecb9a3abb83d8e1ddd6'>diff
AgeCommit message (Expand)Author
2024-03-22system, home: Validate ‘services’ field value....Ludovic Courtès
2023-03-20home: 'home-environment-with-provenance' uses the HE location info....Sergey Trofimov
2023-03-13home: Export home-environment-packages....Sergey Trofimov
2022-08-19home: Fix docstring....Andrew Tropin
2022-08-01home: Add 'home-generation-base'....Ludovic Courtès
2022-07-17Revert "home: Add 'home-generation-base'."...Tobias Geerinckx-Rice
2022-07-23home: Add 'home-generation-base'....Ludovic Courtès