Closed GoogleCodeExporter closed 8 years ago
Discovered that the parser DOES in fact handle null strings (1F 00), but not
when they are the last tokens at the end of a line.
Original comment by miss.inv...@gmail.com
on 19 Jan 2014 at 6:17
Problem was with line:
int length = s.split("00")[0].length()/3;
in ModStringLeaf.ParseUnrealHex(). If s == "00" this would result in the split
being null, and the [0] reference being invalid.
Fixed by putting a previous conditional :
if( !((s.split("\\s", 2)[0]).equals("00")))
to skip attempting to parse character data for null strings.
Original comment by miss.inv...@gmail.com
on 25 Feb 2014 at 6:57
Original issue reported on code.google.com by
miss.inv...@gmail.com
on 13 Jan 2014 at 2:55