We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cdb8a7 commit 235fd02Copy full SHA for 235fd02
1 file changed
lib/src/parser/repeater/separated.dart
@@ -86,7 +86,7 @@ class SeparatedRepeatingParser<R, S>
86
if (elements.isNotEmpty) {
87
final separation = separator.parseOn(current);
88
if (separation.isFailure) {
89
- return current.success(SeparatedList(elements, separators));
+ break;
90
}
91
current = separation;
92
separators.add(separation.value);
@@ -126,7 +126,7 @@ class SeparatedRepeatingParser<R, S>
126
if (count > 0) {
127
final separation = separator.fastParseOn(buffer, current);
128
if (separation < 0) {
129
- return current;
130
131
132
0 commit comments