diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-25 23:19:14 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-25 23:19:14 +0100 |
commit | 62d931b6b52bbb952a2c280823dcc8bb5bd591bd (patch) | |
tree | 1afdbb73acd089f7b38ec47ea4f2d4047e549bde /src/main.ml | |
parent | 7ede04f410c1df7cfe3e96e4101db1570c2a16ae (diff) | |
download | LPC-Projet-62d931b6b52bbb952a2c280823dcc8bb5bd591bd.tar.gz LPC-Projet-62d931b6b52bbb952a2c280823dcc8bb5bd591bd.zip |
Begin code generation (many bugs...)
Diffstat (limited to 'src/main.ml')
-rw-r--r-- | src/main.ml | 3 |
1 files changed, 3 insertions, 0 deletions
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...@."; |