diff --git a/yaml/parser/basic_structures_def.hpp b/yaml/parser/basic_structures_def.hpp index ff79f0e8..0d4f19d6 100644 --- a/yaml/parser/basic_structures_def.hpp +++ b/yaml/parser/basic_structures_def.hpp @@ -248,7 +248,7 @@ namespace yaml { namespace parser { // [88] tag_directive = - "TAG" > +blank > tag_handle > +blank > tag_prefix + "TAG" >> +blank >> tag_handle >> +blank >> tag_prefix // TODO [add tag to tag symbol table] ; diff --git a/yaml/parser/flow_styles_def.hpp b/yaml/parser/flow_styles_def.hpp index f361567c..2b88fc1b 100644 --- a/yaml/parser/flow_styles_def.hpp +++ b/yaml/parser/flow_styles_def.hpp @@ -426,7 +426,7 @@ namespace yaml { namespace parser { // [160] flow_json_node = - -(omit[properties(_r1, _r2)[_a = _1]] > separate(_r1, _r2)) + -(omit[properties(_r1, _r2)[_a = _1]] >> separate(_r1, _r2)) >> flow_json_content(_r1, _r2) [_val = handle_properties(_a, _1, phx::ref(anchors))] ;