[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pushback error!



Israel Antezana Rojas wrote:
> I have written a parser in SableCC and it works pretty well, but with
> large input files I get the following error message:
> 
>                          java.io.IOException: Pushback buffer overflow
> 
> How can I solve this?. Thank you, bye!

You will need to increase the size of the pushback buffer.

Question: Are you using lexer states?

Etienne
-- 
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc.                     e-mail: egagnon@j-meg.com
Author of SableCC:                 http://www.sable.mcgill.ca/sablecc/
----------------------------------------------------------------------