From c015541a60f8d93070c53511daaff81db730d194 Mon Sep 17 00:00:00 2001
From: ionagamed <ionagamed@yandex-team.com>
Date: Mon, 15 Apr 2024 10:18:45 +0300
Subject: YT: Add NodeFromYsonStreamNonGreedy; use it in TNode::Load
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

В рамках
3547980204d51d6eba4c3b56989a916379526673
---
 library/cpp/yson/node/node.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'library/cpp/yson/node/node.cpp')

diff --git a/library/cpp/yson/node/node.cpp b/library/cpp/yson/node/node.cpp
index 5156033cfe..f142ae0f42 100644
--- a/library/cpp/yson/node/node.cpp
+++ b/library/cpp/yson/node/node.cpp
@@ -861,7 +861,7 @@ void TNode::Save(IOutputStream* out) const
 void TNode::Load(IInputStream* in)
 {
     Clear();
-    *this = NodeFromYsonStream(in, ::NYson::EYsonType::Node);
+    *this = NodeFromYsonStreamNonGreedy(in, ::NYson::EYsonType::Node);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-- 
cgit v1.2.3