Skip to content

Increase value of PRISM_DEPTH_MAXIMUM to 10000#3413

Merged
kddnewton merged 1 commit intoruby:mainfrom
bquorning:increase-max-depth
Jan 16, 2025
Merged

Increase value of PRISM_DEPTH_MAXIMUM to 10000#3413
kddnewton merged 1 commit intoruby:mainfrom
bquorning:increase-max-depth

Conversation

@bquorning
Copy link
Contributor

The previous value of 1_000 was added with a reference to the Bison parser, but the value of YYMAXDEPTH in the Bison docs is 10_000, not 1_000.

See #1774 (comment) cc @kddnewton

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 <nonydutton@gmail.com>
@kddnewton kddnewton merged commit 63587ba into ruby:main Jan 16, 2025
56 of 57 checks passed
@bquorning bquorning deleted the increase-max-depth branch January 16, 2025 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants