From 62d931b6b52bbb952a2c280823dcc8bb5bd591bd Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Wed, 25 Dec 2013 23:19:14 +0100 Subject: Begin code generation (many bugs...) --- src/main.ml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.ml') diff --git a/src/main.ml b/src/main.ml index 976586f..a087cb5 100644 --- a/src/main.ml +++ b/src/main.ml @@ -78,6 +78,9 @@ let () = localisation2 loc; eprintf "%s@." msg; exit 2 + | Codegen.Very_bad_error(msg) -> + eprintf "Very bad error: %s@." msg; + exit 3; | _ -> eprintf "Unexpected error...@."; -- cgit v1.2.3