Join GitHub today
IndexOutOfBoundsException with parseIterator #135
I have a fairly complicated parser for the FlatZinc language available here: https://github.com/concrete-cp/cspom/blob/master/src/main/scala/cspom/flatzinc/FlatZincFastParser.scala
It seems to work pretty well when I convert the input stream to a whole String and parse it using the parse() method. However, I may have to parse quite large files (~ 500 MB) and would like to use the parseIterator() technique. I splitted the input stream into 1024 chars chunks with
I got the following exception:
Maybe I have done something wrong, but it may also be a bug in FastParse?