Repository navigation
Conversation
Duskfen
left a comment
There was a problem hiding this comment.
Ran into the same issue with version 1.0.7 - can confirm the fix works. Also noticed another missing break pattern.
@MaximBelov any chance you are merging this and releasing a new version?
| default: | ||
| throw "16"; | ||
| } | ||
|
|
There was a problem hiding this comment.
I think here is also a missing break;
Otherwise 4300-4333 throw with the same missing break pattern.
| break; |
|
Shipped in 1.0.8. Your commit went in as-is via #6, with your authorship kept on the squash. @Duskfen was right that the same pattern was left behind: the Parsing all 193 identifiers the library supports, 46 were broken on 1.0.7 — the whole 43xx block and 710-715 threw, 7010 came back relabelled as 7011, and 7020-7023/7040/7240-7242 returned Thanks for tracking it down. |
|
Thanks @MaximBelov for looking into this, appreciate it! |
There was an error happening sometimes when scanning. The code ended up in the wrong switch default:
default:
throw "19";
I fund the bug in the code with switch braces. I tested the fixed code and it seems to be working correctly now.