codegen tweak.
This commit is contained in:
@@ -239,7 +239,7 @@ impl<'a> TermMarker<'a> {
|
|||||||
|
|
||||||
fn advance_at_header(&mut self, term: &'a Term) {
|
fn advance_at_header(&mut self, term: &'a Term) {
|
||||||
self.arg_c = 1;
|
self.arg_c = 1;
|
||||||
self.temp_c = max(term.subterms() + 1,
|
self.temp_c = max(term.subterms(),
|
||||||
self.bindings.values()
|
self.bindings.values()
|
||||||
.filter_map(|vr| {
|
.filter_map(|vr| {
|
||||||
match vr {
|
match vr {
|
||||||
@@ -249,7 +249,7 @@ impl<'a> TermMarker<'a> {
|
|||||||
_ => None
|
_ => None
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.max().unwrap_or(0));
|
.max().unwrap_or(0)) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
fn advance(&mut self, term: &'a Term) {
|
fn advance(&mut self, term: &'a Term) {
|
||||||
|
|||||||
Reference in New Issue
Block a user