Hi,
Packrat parsers require you to give them a PagedSeqReader. If you
don't, all kinds of weird things happen. It seems you do not do that.
I use the following helper function to create a PagedSeqReader from a
file name:
private def readerForFile(fileName: String) = {
new PagedSeqReader(PagedSeq.fromReader(
new BufferedReader(new FileReader(fileName))))
}
Cheers,
Sébastien
> --
> You received this message because you are subscribed to the Google Groups
> "scala-language" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
scala-languag...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>