From: Andrius Merkys Date: Fri, 3 Jan 2025 21:12:35 +0100 Subject: Port to tao-pegtl v3. --- include/gemmi/cif.hpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) --- a/include/gemmi/cif.hpp +++ b/include/gemmi/cif.hpp @@ -35,7 +35,6 @@ 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 @@ -69,11 +68,11 @@ struct ws_or_eof : pegtl::sor {}; // (b) Reserved words. - struct str_data : TAOCPP_PEGTL_ISTRING("data_") {}; - struct str_loop : pegtl::seq> {}; - struct str_global : pegtl::seq> {}; - struct str_save : TAOCPP_PEGTL_ISTRING("save_") {}; - struct str_stop : pegtl::seq> {}; + struct str_data : TAO_PEGTL_ISTRING("data_") {}; + struct str_loop : pegtl::seq> {}; + struct str_global : pegtl::seq> {}; + struct str_save : TAO_PEGTL_ISTRING("save_") {}; + struct str_stop : pegtl::seq> {}; struct keyword : pegtl::sor {};