Project

General

Profile

« Previous | Next » 

Revision 8a11dc80

Added by Pierre-Loïc Garoche over 3 years ago

cleaning debug logs

View differences:

src/compiler_common.ml
191 191
let resolve_contracts prog =
192 192
  (* Bind a fresh node with a new name according to existing nodes and freshly binded contract node. Clean the contract to remove the stmts  *)
193 193
  let process_contract new_contracts c =
194
    Format.eprintf "Process contract@.";
194
    (* Format.eprintf "Process contract@."; *)
195 195
    (* Resolve first the imports *)
196 196
    let stmts, locals, c =
197 197
      List.fold_left (
......
205 205
             Last the contracts elements are replaced with the renamed vars and merged with c contract.
206 206
           *)
207 207
          let name = import.import_nodeid in
208
          Format.eprintf "Process contract import %s@." name;
208
          (* Format.eprintf "Process contract import %s@." name; *)
209 209
          let loc = import.import_loc in
210 210
          try
211 211
            let imp_nd = get_node name new_contracts in (* Get the contract node in process contracts *)
......
264 264
      | ImportedNode ind -> ind.nodei_id, ind.nodei_spec, ind.nodei_inputs, ind.nodei_outputs
265 265
      | _ -> assert false
266 266
    in
267
    Format.eprintf "Process contract new node for node %s@." id;
267
    (* Format.eprintf "Process contract new node for node %s@." id; *)
268 268

  
269 269
    let stmts, locals, c =
270 270
      match spec with

Also available in: Unified diff