Re: [Doxygen-users] Error: Input buffer overflow
Brought to you by:
dimitri
From: Larry M. <lar...@gm...> - 2007-08-10 14:45:55
|
On 8/10/07, Miguel Guedes <mig...@gm...> wrote: > Hello, > > I'm trying to document a large C++ project composed of a monstrous > number of entities and am getting the following error: "input buffer > overflow, can't enlarge buffer because scanner uses REJECT" > > This error occurs while Doxygen is parsing and preprocessing the headers. > > How can I increase this "input buffer"? >From the FAQ: 13. Help! I get the cryptic message "input buffer overflow, can't enlarge buffer because scanner uses REJECT" This error happens when doxygen's lexical scanner has a rule that matches more than 256K of input characters in one go. I've seen this happening on a very large generated file (>256K lines), where the built-in preprocessor converted it into an empty file (with >256K of newlines). Another case where this might happen is if you have lines in your code with more than 256K characters. If you have run into such a case and want me to fix it, you should send me a code fragment that triggers the message. To work around the problem, put some line-breaks into your file, split it up into smaller parts, or exclude it from the input using EXCLUDE. |