summaryrefslogtreecommitdiffstats
path: root/doc/faq.doc
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-07-20 13:31:30 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-07-20 13:31:30 (GMT)
commitefc67de9d1a4e36ab94164352778fd19f33652b3 (patch)
tree33a72eec96c4b7470d0f40298e795589b640a186 /doc/faq.doc
parent242abf259fcd639ebf33162b6f442c80b0fe0043 (diff)
downloadDoxygen-efc67de9d1a4e36ab94164352778fd19f33652b3.zip
Doxygen-efc67de9d1a4e36ab94164352778fd19f33652b3.tar.gz
Doxygen-efc67de9d1a4e36ab94164352778fd19f33652b3.tar.bz2
Option for 'input buffer overflow'
Cmake option `-Denlarge_lex_buffers=<size>` to enlarge input and read buffers for source code lexers.
Diffstat (limited to 'doc/faq.doc')
-rw-r--r--doc/faq.doc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/faq.doc b/doc/faq.doc
index 88a1275..0ba9450 100644
--- a/doc/faq.doc
+++ b/doc/faq.doc
@@ -235,6 +235,13 @@ 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.
+Another way to work around this problem is to use the cmake command with the option:
+```
+-Denlarge_lex_buffers=<size>
+```
+where `<size>` is the new size of the input (`YY_BUF_SIZE`) and read (`YY_READ_BUF_SIZE`) buffer.
+In case this option is not given the default value of 262144 (i.e. 256K) will be used.
+
\section faq_latex When running make in the latex directory I get "TeX capacity exceeded". Now what?
You can edit the texmf.cfg file to increase the default values of the