Fixed lack of bounds checking on segment in generated number parsers