Add some more assertions to document preconditions
Return early when findCommaOrEnd is called with the end pos and add a unit test for the situation where this might occur. This was suggested by Igor Kushnir during code review, thanks!
Please register or sign in to comment