Skip to content

Commit f20c041

Browse files
committed
WIP
1 parent 4714230 commit f20c041

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/query.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ bool match_rule(query *q, cell *p1, pl_idx p1_ctx, enum clause_type is_retract)
13311331

13321332
checked(check_frame(q, q->st.pr->max_vars));
13331333
checked(push_choice(q));
1334-
const frame *f = GET_FRAME(q->st.curr_frame);
1334+
const frame *f = GET_CURR_FRAME();
13351335
cell *p1_body = deref(q, get_logical_body(p1), p1_ctx);
13361336
cell *orig_p1 = p1;
13371337

@@ -1441,7 +1441,7 @@ bool match_clause(query *q, cell *p1, pl_idx p1_ctx, enum clause_type is_retract
14411441

14421442
checked(check_frame(q, q->st.pr->max_vars));
14431443
checked(push_choice(q));
1444-
const frame *f = GET_FRAME(q->st.curr_frame);
1444+
const frame *f = GET_CURR_FRAME();
14451445

14461446
for (; q->st.dbe; q->st.dbe = q->st.dbe->next) {
14471447
if (!can_view(q, f->dbgen, q->st.dbe))

0 commit comments

Comments
 (0)