max_expr_depth bug fix
This commit is contained in:
parent
48356abc83
commit
a856a8bbcb
@ -1835,7 +1835,7 @@ fn parse_unary(
|
||||
let mut new_state = ParseState::new(
|
||||
state.engine,
|
||||
#[cfg(not(feature = "unchecked"))]
|
||||
state.max_expr_depth,
|
||||
state.max_function_expr_depth,
|
||||
#[cfg(not(feature = "unchecked"))]
|
||||
state.max_function_expr_depth,
|
||||
);
|
||||
@ -2884,7 +2884,7 @@ fn parse_stmt(
|
||||
let mut state = ParseState::new(
|
||||
state.engine,
|
||||
#[cfg(not(feature = "unchecked"))]
|
||||
state.max_expr_depth,
|
||||
state.max_function_expr_depth,
|
||||
#[cfg(not(feature = "unchecked"))]
|
||||
state.max_function_expr_depth,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user