From cc88ef924c22653e46966f98ef71c71a2070731f Mon Sep 17 00:00:00 2001 From: Vladislav Mamon Date: Tue, 31 May 2022 15:30:10 +0500 Subject: [PATCH] docs(combinators/sepBy): update `sepBy` docs --- docs/content/combinators/sepBy.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/combinators/sepBy.md b/docs/content/combinators/sepBy.md index d077745..661cdf5 100644 --- a/docs/content/combinators/sepBy.md +++ b/docs/content/combinators/sepBy.md @@ -1,6 +1,6 @@ --- title: 'sepBy' -kind: 'composite' +kind: 'primitive' description: 'sepBy combinator parses zero or more occurrences of parser, separated by sep. Returns a list of values (without separator) returned by parser.' --- @@ -49,9 +49,9 @@ const Parser = sepBy(uint(), string('+')) run(Parser).with('one+two') { - isOk: false, + isOk: true, pos: 0, - expected: 'unsigned integer' + value: [] } ```