[ruby/prism] Increase value of PRISM_DEPTH_MAXIMUM to 10000
The previous value of 1_000 was added with a reference to the Bison parser1, but the value of YYMAXDEPTH in the Bison docs is 10_000, not 1_000.
Fixes [Bug #21044]
https://github.com/ruby/prism/commit/e098533ab4
Co-authored-by: Nony Dutton [email protected]
https://www.gnu.org/software/bison/manual/html_node/Memory-Management.html ↩
[ruby/prism] Increase value of PRISM_DEPTH_MAXIMUM to 10000
The previous value of 1_000 was added with a reference to the Bison
parser1, but the value of YYMAXDEPTH in the Bison docs is 10_000,
not 1_000.
Fixes [Bug #21044]
https://github.com/ruby/prism/commit/e098533ab4
Co-authored-by: Nony Dutton [email protected]
https://www.gnu.org/software/bison/manual/html_node/Memory-Management.html ↩