Hi all,
I am encountering a weird problem, I am trying to parse a very large file (around 1.2 GB) according to a grammar defined in ocamlyacc.
During the parsing I get the exception
Invalid_argument "Array.make".
This is strange because I am not using any array.
My guess it that a big chunk of the file I am parsing is matching a non terminal, something like
rule:
non_term END {blah};
where non_term is going to be 1GB of characters. Does anyone know what could be raising the exception ?
Thanks!
J