Skip to content

Commit c0a7cef

Browse files
Fix the comment regarding unconditional modifications in Parser.kt.
1 parent c8eb9b9 commit c0a7cef

File tree

1 file changed

+1
-1
lines changed
  • core/common/src/internal/format/parser

1 file changed

+1
-1
lines changed

core/common/src/internal/format/parser/Parser.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ internal fun <T> List<ParserStructure<T>>.concat(): ParserStructure<T> {
9696
var currentNumberSpan: MutableList<NumberConsumer<T>>? = null
9797
val unconditionalModifications = mutableListOf<UnconditionalModification<T>>()
9898
// joining together the number consumers in this parser before the first alternative;
99-
// collecting the unconditional modifications to push them to the end of all the parser's branches.
99+
// collecting the unconditional modifications.
100100
for (op in operations) {
101101
if (op is NumberSpanParserOperation) {
102102
if (currentNumberSpan != null) {

0 commit comments

Comments
 (0)