Minor refactoring
This commit is contained in:
parent
63c1931e30
commit
0e78e4ea57
@ -269,9 +269,8 @@ fn quantified_formula<'i, 'b, 'v>(i: &'i str, d: &Declarations,
|
|||||||
return Err(nom::Err::Failure((i, nom::error::ErrorKind::Many1)));
|
return Err(nom::Err::Failure((i, nom::error::ErrorKind::Many1)));
|
||||||
}
|
}
|
||||||
|
|
||||||
let v2 = crate::VariableDeclarationStackLayer::Bound(
|
let v2 = crate::VariableDeclarationStackLayer::bound(v,
|
||||||
crate::BoundVariableDeclarations::new(v,
|
std::rc::Rc::clone(&variable_declarations));
|
||||||
std::rc::Rc::clone(&variable_declarations)));
|
|
||||||
|
|
||||||
let (i, argument) = formula_precedence_0(i, d, &v2)?;
|
let (i, argument) = formula_precedence_0(i, d, &v2)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user