mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-04-25 11:12:14 +00:00
test: Shrink the maximum depth a bit to avoid stack overflows
This commit is contained in:
parent
0c69e999a5
commit
e932f811a6
@ -32,7 +32,7 @@ struct Generator<'grammar> {
|
|||||||
depth: u32,
|
depth: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
const MAX_DEPTH: u32 = 10000;
|
const MAX_DEPTH: u32 = 7000;
|
||||||
|
|
||||||
impl<'grammar> Generator<'grammar> {
|
impl<'grammar> Generator<'grammar> {
|
||||||
fn nonterminal(&mut self, nt: NonterminalString) -> Option<ParseTree> {
|
fn nonterminal(&mut self, nt: NonterminalString) -> Option<ParseTree> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user