Browse Source

Fix `Parser.MUntilMany()`'s parameter names

pull/8/head
Anton Tarasenko 3 years ago
parent
commit
fcc715ed19
  1. 4
      sources/Text/Parser.uc

4
sources/Text/Parser.uc

@ -936,7 +936,7 @@ public final function Parser MUntilMany(
*/ */
public final function Parser MUntilManyS( public final function Parser MUntilManyS(
out string result, out string result,
array<Text> endWords, array<Text> separators,
optional bool whitespacesBreak, optional bool whitespacesBreak,
optional bool quotesBreak) optional bool quotesBreak)
{ {
@ -944,7 +944,7 @@ public final function Parser MUntilManyS(
if (!Ok()) return self; if (!Ok()) return self;
wrapper = _.text.Empty(); wrapper = _.text.Empty();
MUntilMany(wrapper, endWords, whitespacesBreak, quotesBreak); MUntilMany(wrapper, separators, whitespacesBreak, quotesBreak);
result = wrapper.ToPlainString(); result = wrapper.ToPlainString();
wrapper.FreeSelf(); wrapper.FreeSelf();
return self; return self;

Loading…
Cancel
Save