Fix parsing right-to-left implication
This commit is contained in:
parent
0216f90929
commit
170cde6a82
@ -245,7 +245,7 @@ where
|
|||||||
let argument = FormulaStr::new(argument?, self.declarations, self.variable_declaration_stack).parse(level + 1)?;
|
let argument = FormulaStr::new(argument?, self.declarations, self.variable_declaration_stack).parse(level + 1)?;
|
||||||
|
|
||||||
Ok(crate::Formula::implies(crate::ImplicationDirection::RightToLeft,
|
Ok(crate::Formula::implies(crate::ImplicationDirection::RightToLeft,
|
||||||
Box::new(accumulator), Box::new(argument)))
|
Box::new(argument), Box::new(accumulator)))
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user