Skip to content

Commit b082994

Browse files
committed
fix: overflow in the calculation expr
Signed-off-by: Keming <[email protected]>
1 parent e4e9f49 commit b082994

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parser/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14266,6 +14266,7 @@ impl Word {
1426614266
/// * `Ok(Some(replacement_expr))`: A replacement `Expr` is provided, use replacement `Expr`.
1426714267
/// * `Ok(None)`: A replacement `Expr` is not provided, use old `Expr`.
1426814268
/// * `Err(err)`: Any error returned.
14269+
#[cfg_attr(feature = "recursive-protection", recursive::recursive)]
1426914270
fn rewrite_calculation_expr<F>(
1427014271
expr: &Expr,
1427114272
rewrite_func_expr: bool,

0 commit comments

Comments
 (0)