Project

General

Profile

Revision 04a188ec src/compiler_stages.ml

View differences:

src/compiler_stages.ml
92 92
        ignore (Corelang.node_from_name main_node)
93 93
      with Not_found -> (
94 94
        Format.eprintf "Code generation error: %a@." Error.pp_error_msg Error.Main_not_found;
95
        raise (Corelang.Error (Location.dummy_loc, Error.Main_not_found))
95
        raise (Error.Error (Location.dummy_loc, Error.Main_not_found))
96 96
    ))
97 97
  in
98 98
  

Also available in: Unified diff