From ed214627065976b937455e1385300e677668b723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9onard=20G=C3=A9rard?= Date: Tue, 11 Jan 2011 14:27:29 +0100 Subject: [PATCH] Add java to the compiling process. --- compiler/minils/main/mls2seq.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/minils/main/mls2seq.ml b/compiler/minils/main/mls2seq.ml index c41e56e..c05df1f 100644 --- a/compiler/minils/main/mls2seq.ml +++ b/compiler/minils/main/mls2seq.ml @@ -15,7 +15,7 @@ open Misc (** Definition of a target. A target starts either from dataflow code (ie Minils) or sequential code (ie Obc), - with or without static parameters*) + with or without static parameters *) type target = | Obc of (Obc.program -> unit) | Obc_no_params of (Obc.program -> unit) @@ -39,6 +39,7 @@ let write_obc_file p = comment "Generation of Obc code" let targets = [ "c", Obc_no_params Cmain.program; + "java", Obc_no_params Java_main.program; "obc", Obc write_obc_file; "obc_np", Obc_no_params write_obc_file; "epo", Minils write_object_file ]