Skip to content

Commit da9e423

Browse files
committed
move args from lang_fans into fan
1 parent 823ea1a commit da9e423

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/cold/fan.ml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66

77
let _ =
88
begin
9+
Options.add
10+
("-keep",
11+
(Arg.Set State.keep), "Keep the included type definitions") ;
12+
Options.add
13+
("-loaded-plugins",
14+
(Arg.Unit Typehook.show_modules), "Show plugins");
15+
916
Options.adds Fan_args.initial_spec_list;
1017
Ast_parsers.use_parsers [ "fan"];
1118
try
@@ -20,5 +27,5 @@ let _ =
2027

2128

2229
(* local variables: *)
23-
(* compile-command: "cd .. && pmake main_annot/fan.cmo" *)
30+
(* compile-command: "cd .. && omake main_annot/fan.cmo" *)
2431
(* end: *)

src/main/lang_fans.ml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ with exp
4040

4141
let lexer = Lexing_util.adapt_to_stream token ;;
4242
begin
43-
Options.add
44-
("-keep",
45-
(Arg.Set State.keep), "Keep the included type definitions") ;
46-
Options.add
47-
("-loaded-plugins",
48-
(Arg.Unit Typehook.show_modules), "Show plugins");
4943
%register{
5044
name: fans;
5145
lexer:lexer ;

0 commit comments

Comments
 (0)