summaryrefslogtreecommitdiff
path: root/src/main.ml
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-25 23:19:14 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-25 23:19:14 +0100
commit62d931b6b52bbb952a2c280823dcc8bb5bd591bd (patch)
tree1afdbb73acd089f7b38ec47ea4f2d4047e549bde /src/main.ml
parent7ede04f410c1df7cfe3e96e4101db1570c2a16ae (diff)
downloadLPC-Projet-62d931b6b52bbb952a2c280823dcc8bb5bd591bd.tar.gz
LPC-Projet-62d931b6b52bbb952a2c280823dcc8bb5bd591bd.zip
Begin code generation (many bugs...)
Diffstat (limited to 'src/main.ml')
-rw-r--r--src/main.ml3
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...@.";