diff --git a/ircd/json.cc b/ircd/json.cc index 0a5bb1e40..63f1112c5 100644 --- a/ircd/json.cc +++ b/ircd/json.cc @@ -153,7 +153,7 @@ struct ircd::json::input // primary recursive rule const rule value { - lit_false | lit_null | lit_true | string | number | object(depth + 1) | array(depth + 1) + string | number | lit_true | lit_false | lit_null | object(depth + 1) | array(depth + 1) ,"value" }; @@ -204,11 +204,11 @@ struct ircd::json::input :input::base_type{rule<>{}} // required by spirit { // synthesized repropagation of recursive rules - value %= lit_false - | lit_null - | lit_true - | string + value %= string | number + | lit_true + | lit_false + | lit_null | object(depth + 1) | array(depth + 1) ;