Project

General

Profile

« Previous | Next » 

Revision 931a8706

Added by bquorning (Benjamin Quorning) 5 months ago

[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

  1. https://www.gnu.org/software/bison/manual/html_node/Memory-Management.html