Increase define recursions before error

This commit is contained in:
Wilson Snyder 2010-08-10 11:18:53 -04:00
parent 5e4ca4b76a
commit f4908a9758
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,10 @@ Revision history for Verilator
The contributors that suggested a given feature are shown in []. [by ...]
indicates the contributor was also the author of the fix; Thanks!
* Verilator 3.8****
**** Increase define recursions before error. [Paul Liu]
* Verilator 3.803 2010/07/10
*** Fix preprocessor preservation of newlines across macro substitutions.

View File

@ -48,7 +48,7 @@ protected:
public:
// CONSTANTS
enum MiscConsts {
DEFINE_RECURSION_LEVEL_MAX = 50, // How many `def substitutions before an error
DEFINE_RECURSION_LEVEL_MAX = 1000, // How many `def substitutions before an error
INCLUDE_DEPTH_MAX = 500, // How many `includes deep before an error
NEWLINES_VS_TICKLINE = 20 // Use `line in place of this many newlines
};