Skip to content
Snippets Groups Projects
Commit b1b9b2a7 authored by Benoît Barbot's avatar Benoît Barbot
Browse files

fix Makefile

parent 68fbacfd
Branches
Tags stable_1.0
No related merge requests found
Pipeline #2079 failed
all:
dune build
ln -s _build/default/src/wordgen.exe wordgen
allocamlbuild:
ocamlbuild -I src -use-ocamlfind -plugin-tag 'package(bisect_ppx-ocamlbuild)' wordgen.native
mv wordgen.native wordgen
cp wordgen.native wordgen
test:
BISECT_COVERAGE=YES ocamlbuild -I src -use-ocamlfind -plugin-tag 'package(bisect_ppx-ocamlbuild)' -package yojson wordgen.native test.t/poly_unitaire.native
......
......@@ -219,7 +219,12 @@ let print_to_prism f def stateit arcit =
guard g3 target;
List.iter (fun r -> Format.fprintf f "&(%s'=0)" r) reset;
Format.fprintf f ";\n");
Format.fprintf f "endmodule\n"
Format.fprintf f "endmodule\n";
Format.fprintf f "label \"accepting\" = false ";
stateit (fun id (_,_,_,isfin) _ -> if isfin then Format.fprintf f "| (state=%i)" id);
Format.fprintf f ";\n"
let print =
[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment