@@ -312,6 +312,7 @@ let is_declared_str state x =
312312  ||  x ==  Symbols. (show state D.Global_symbols. declare_constraintc)
313313  ||  x ==  Symbols. (show state D.Global_symbols. print_constraintsc)
314314  ||  x ==  Symbols. (show state D.Global_symbols. cutc)
315+   ||  x ==  Symbols. (show state D.Global_symbols. eqc)
315316  ||  x ==  Symbols. (show state D.Global_symbols. findall_solutionsc)
316317;;
317318
@@ -321,6 +322,7 @@ let is_declared state x =
321322  ||  x ==  D.Global_symbols. declare_constraintc
322323  ||  x ==  D.Global_symbols. print_constraintsc
323324  ||  x ==  D.Global_symbols. cutc
325+   ||  x ==  D.Global_symbols. eqc
324326  ||  x ==  D.Global_symbols. findall_solutionsc
325327;;
326328
@@ -2128,7 +2130,7 @@ let query_of_ast (compiler_state, assembled_program) t =
21282130  let  query_env =  Array. make query.amap.nargs D. dummy in 
21292131  let  state, queryt =  stack_term_of_preterm ~depth: initial_depth state query in 
21302132  let  initial_goal = 
2131-     R. move ~adepth : initial_depth ~from: initial_depth ~to_: initial_depth query_env
2133+     R. move ~argsdepth : initial_depth ~from: initial_depth ~to_: initial_depth query_env
21322134      queryt in 
21332135  let  assignments =  StrMap. map (fun  i  -> query_env.(i)) query.amap.n2i in 
21342136  {
@@ -2159,7 +2161,7 @@ let query_of_term (compiler_state, assembled_program) f =
21592161  let  query_env =  Array. make query.amap.nargs D. dummy in 
21602162    let  state, queryt =  stack_term_of_preterm ~depth: initial_depth state query in 
21612163  let  initial_goal = 
2162-     R. move ~adepth : initial_depth ~from: initial_depth ~to_: initial_depth query_env
2164+     R. move ~argsdepth : initial_depth ~from: initial_depth ~to_: initial_depth query_env
21632165      queryt in 
21642166  let  assignments =  StrMap. map (fun  i  -> query_env.(i)) query.amap.n2i in 
21652167 {
@@ -2533,7 +2535,7 @@ let term_of_ast ~depth state t =
25332535    ) state t in 
25342536 let  env =  Array. make nargs D. dummy in 
25352537 let  argsdepth =  depth in 
2536-  state, R. move ~adepth:  argsdepth ~from: depth ~to_: depth env t
2538+  state, R. move ~argsdepth  ~from: depth ~to_: depth env t
25372539;;
25382540
25392541let  static_check  ~exec   ~checker :(state ,program ) 
0 commit comments