Skip to content

Commit e098533

Browse files
bquorningHeyNonster
authored andcommitted
Increase value of PRISM_DEPTH_MAXIMUM to 10000
The previous value of 1_000 was added with a reference to the Bison parser[^1], but the value of YYMAXDEPTH in the Bison docs is 10_000, not 1_000. [^1]: https://www.gnu.org/software/bison/manual/html_node/Memory-Management.html Fixes [Bug #21044] Co-authored-by: Nony Dutton <[email protected]>
1 parent de7bb68 commit e098533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/prism/defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* specifying a maximum depth to which we are allowed to recurse.
3535
*/
3636
#ifndef PRISM_DEPTH_MAXIMUM
37-
#define PRISM_DEPTH_MAXIMUM 1000
37+
#define PRISM_DEPTH_MAXIMUM 10000
3838
#endif
3939

4040
/**

0 commit comments

Comments
 (0)