From b9169d394c7c66c71b7c38948b8e6b9b051a251c Mon Sep 17 00:00:00 2001 From: pantor Date: Sat, 2 Dec 2017 15:31:36 +0100 Subject: [PATCH] temp fix some unit test for mvsc --- src/inja.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/inja.hpp b/src/inja.hpp index f8d53c0..7c166fc 100644 --- a/src/inja.hpp +++ b/src/inja.hpp @@ -410,6 +410,7 @@ public: return eval_expression(element.args[0], data) != eval_expression(element.args[1], data); } case Parsed::Function::ReadJson: { + std::cout << "eval_function - read json - " << element.command << std::endl; if ( json::accept(element.command) ) { return json::parse(element.command); } // Json Raw Data std::string input = element.command; @@ -550,7 +551,7 @@ public: MatchType match_function = match(input, regex_map_functions); switch ( match_function.type() ) { case Parsed::Function::ReadJson: { - std::cout << "parse read json" << std::endl; + std::cout << "parse read json - " << match_function.str(1) << std::endl; Parsed::ElementExpression result = Parsed::ElementExpression(Parsed::Function::ReadJson); result.command = match_function.str(1); return result;