Skip to content

Commit 76f17c3

Browse files
authored
Merge pull request #20 from kemingy/calc_overflow
fix: overflow in the calculation expr
2 parents 2edba96 + b082994 commit 76f17c3

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
@@ -14259,6 +14259,7 @@ impl Word {
1425914259
/// * `Ok(Some(replacement_expr))`: A replacement `Expr` is provided, use replacement `Expr`.
1426014260
/// * `Ok(None)`: A replacement `Expr` is not provided, use old `Expr`.
1426114261
/// * `Err(err)`: Any error returned.
14262+
#[cfg_attr(feature = "recursive-protection", recursive::recursive)]
1426214263
fn rewrite_calculation_expr<F>(
1426314264
expr: &Expr,
1426414265
rewrite_func_expr: bool,

0 commit comments

Comments
 (0)