From b2b037421eafdb2e2d656da53fb4f7824fe8dbee Mon Sep 17 00:00:00 2001 From: Zach Laine Date: Thu, 4 May 2017 20:57:01 -0500 Subject: [PATCH] Remove more over-eager expectations. --- yaml/parser/basic_structures_def.hpp | 2 +- yaml/parser/flow_styles_def.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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))] ;