
27 Jan
2007
27 Jan
'07
5:02 p.m.
Hi
I also fear that the existing script does not handle types with more than 256 constructors correctly. While uncommon, those are not unrealistic.
Feel free to send in a patch. All it needs to do is check if there are more than 2^8 constructors and if so encode the tag in a Word16 rather than Word8.
I've already fixed this and sent some new code to you. As long as you have less than 4 billion constructors you should be fine now. Thanks Neil