From fcc715ed19c47b999358cd8a7839ca8e31020dcc Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sun, 18 Jul 2021 17:05:10 +0700 Subject: [PATCH] Fix `Parser.MUntilMany()`'s parameter names --- sources/Text/Parser.uc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/Text/Parser.uc b/sources/Text/Parser.uc index f7a67d6..42d1a07 100644 --- a/sources/Text/Parser.uc +++ b/sources/Text/Parser.uc @@ -936,7 +936,7 @@ public final function Parser MUntilMany( */ public final function Parser MUntilManyS( out string result, - array endWords, + array separators, optional bool whitespacesBreak, optional bool quotesBreak) { @@ -944,7 +944,7 @@ public final function Parser MUntilManyS( if (!Ok()) return self; wrapper = _.text.Empty(); - MUntilMany(wrapper, endWords, whitespacesBreak, quotesBreak); + MUntilMany(wrapper, separators, whitespacesBreak, quotesBreak); result = wrapper.ToPlainString(); wrapper.FreeSelf(); return self;