Skip to content

Commit

Permalink
clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed Feb 3, 2024
1 parent fbd3851 commit 67c417c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ private [token] final class ConcreteString(ends: Set[(String, String)], stringCh
// then only one string builder needs allocation
sbReg.set(fresh(new StringBuilder)) *>
skipManyUntil(sbReg.update(char(terminalInit).hide.as((sb: StringBuilder) => sb += terminalInit)) <|> content,
closeLabel(allowsAllSpace, stringChar.isRaw)(atomic(string(end)))) //is the atomic needed here? not sure
closeLabel(allowsAllSpace, stringChar.isRaw)(atomic(string(end)))) // atomic needed because ambiguity with init
}
}

0 comments on commit 67c417c

Please sign in to comment.