Increase LINE_TOKEN_MAX (#2752).

This commit is contained in:
Wilson Snyder 2021-02-20 20:55:38 -05:00
parent 975c1b39a9
commit 191f76dd90
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ public:
// CONSTANTS
enum MiscConsts {
DEFINE_RECURSION_LEVEL_MAX = 1000, // How many `def substitutions before an error
LINE_TOKEN_MAX = 20000, // How many tokens on a line before an error
LINE_TOKEN_MAX = 40000, // How many tokens on a line before an error
INCLUDE_DEPTH_MAX = 500, // How many `includes deep before an error
// Streams deep (sometimes `def deep) before an error.
// Set more than DEFINE_RECURSION_LEVEL_MAX or INCLUDE_DEPTH_MAX.

View File

@ -1,3 +1,3 @@
%Error: t/t_pp_circ_subst_bad.v:8:40002: Too many preprocessor tokens on a line (>20000); perhaps recursive `define
%Error: t/t_pp_circ_subst_bad.v:8:80001: Too many preprocessor tokens on a line (>40000); perhaps recursive `define
%Error: t/t_pp_circ_subst_bad.v:8:1: syntax error, unexpected IDENTIFIER
%Error: Exiting due to