Fix parsing nested quantified formulas

This commit is contained in:
Patrick Lühne 2020-04-20 02:57:32 +02:00
parent 987e02f478
commit b516396977
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -265,7 +265,7 @@ where
let bound_variable_declarations = crate::VariableDeclarationStackLayer::bound(v, let bound_variable_declarations = crate::VariableDeclarationStackLayer::bound(v,
std::rc::Rc::clone(&variable_declarations)); std::rc::Rc::clone(&variable_declarations));
let (i, argument) = formula_precedence_0(i, d, &bound_variable_declarations)?; let (i, argument) = formula_precedence_2(i, d, &bound_variable_declarations)?;
Ok((i, crate::QuantifiedFormula::new(variable_declarations, Box::new(argument)))) Ok((i, crate::QuantifiedFormula::new(variable_declarations, Box::new(argument))))
} }