We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
parse_subexpr
1 parent 1097a0d commit 5c9f730Copy full SHA for 5c9f730
src/parser/mod.rs
@@ -1386,6 +1386,7 @@ impl<'a> Parser<'a> {
1386
}
1387
1388
/// Parse tokens until the precedence changes.
1389
+ #[cfg_attr(feature = "recursive-protection", recursive::recursive)]
1390
pub fn parse_subexpr(&mut self, precedence: u8) -> Result<Expr, ParserError> {
1391
let _guard = self.recursion_counter.try_decrease()?;
1392
debug!("parsing expr");
0 commit comments