Actions
Bug #21044
closedPrism maximum recursion depth is 1_000, parse.y is 10_000
Description
These should be aligned. This was because I misread the bison docs originally. Some folks are hitting this when trying to render Rails views too deeply.
Updated by bquorning (Benjamin Quorning) about 10 hours ago
- Status changed from Open to Closed
Applied in changeset git|931a870606f4e286a1c7bacf022940994f3c431b.
[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 nonydutton@gmail.com
Actions
Like0
Like0