7 #include <tao/pegtl/normal.hpp>
9 template <
typename Rule>
13 template <
typename Input,
typename... States>
14 inline static void raise(
const Input &in, States &&...) {
30 "Missing 'STORE' file specifier";
34 error_message =
"'STORE' command is missing store specifier";
38 "Missing 'DELETE' variable";
42 "Unknown aggregation function";
45 "Illegal 'From-Pointer' in 'AGG' command";
48 "Illegal 'To-Pointer' in 'AGG' command";
51 "Error in 'AGG' command";
56 "Unknown/Illegal 'From-Expression' in 'AS' command";
59 "Illegal 'To-Pointer' in 'AS' command";
62 "Error in 'AS' command";
65 "Expected '*' or '(<Ptr>:<Source>)'";
70 "Error in 'CHOOSE' expression";
73 "Atomic value, pointer or function expected.";
76 "Atomic value or function expected.";
85 tao::pegtl::pad<tao::pegtl::one<
'('>, tao::pegtl::space>>::error_message =
91 const std::string
query_control<tao::pegtl::one<
'('>>::error_message =
95 tao::pegtl::pad<tao::pegtl::one<')'>, tao::pegtl::space>>::error_message =
102 "Expected ',' or ')'";
104 const std::string
query_control<tao::pegtl::one<
'"'>>::error_message =
110 tao::pegtl::pad<tao::pegtl::one<':'>, tao::pegtl::space>>::error_message =
119 "Expected STORE/DELETE/CHOOSE/AS/AGG/EOF";
124 template <
typename T>
126 "Parse error matching " + tao::pegtl::internal::demangle<T>();
static const std::string error_message
Definition: Control.h:11