The first line in this method is:
NSParameterAssert(c < STATE_COUNT);
Since 'c' is an int32_t value holding a Unicode character and STATE_COUNT is 256, this line is easily triggered when parsing strings that contain characters that have higher Unicode values. I think that this line is an error, and commenting it out solves the issue for me. Can you explain why this line is important and how I can avoid triggering it? If it represents a bug, is there any possibility for a new release that fixes the problem?
The first line in this method is: NSParameterAssert(c < STATE_COUNT);
Since 'c' is an int32_t value holding a Unicode character and STATE_COUNT is 256, this line is easily triggered when parsing strings that contain characters that have higher Unicode values. I think that this line is an error, and commenting it out solves the issue for me. Can you explain why this line is important and how I can avoid triggering it? If it represents a bug, is there any possibility for a new release that fixes the problem?