2006-06-29 01:12:46 -07:00
|
|
|
open Camlp4; (* -*- camlp4r -*- *)
|
|
|
|
(****************************************************************************)
|
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml *)
|
2006-06-29 01:12:46 -07:00
|
|
|
(* *)
|
|
|
|
(* INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 2002-2006 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. All rights reserved. This file is distributed under *)
|
|
|
|
(* the terms of the GNU Library General Public License, with the special *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* exception on linking described in LICENSE at the top of the OCaml *)
|
|
|
|
(* source tree. *)
|
2006-06-29 01:12:46 -07:00
|
|
|
(* *)
|
|
|
|
(****************************************************************************)
|
|
|
|
|
|
|
|
(* Authors:
|
|
|
|
* - Daniel de Rauglaudre: initial version
|
|
|
|
* - Nicolas Pouillard: refactoring
|
|
|
|
*)
|
|
|
|
|
|
|
|
|
|
|
|
module Id = struct
|
2007-02-07 02:09:29 -08:00
|
|
|
value name = "Camlp4QuotationExpander";
|
2008-10-27 07:03:57 -07:00
|
|
|
value version = Sys.ocaml_version;
|
2006-06-29 01:12:46 -07:00
|
|
|
end;
|
|
|
|
|
2007-02-07 02:09:29 -08:00
|
|
|
module Make (Syntax : Sig.Camlp4Syntax)
|
2006-07-04 04:58:26 -07:00
|
|
|
= struct
|
2007-02-07 02:09:29 -08:00
|
|
|
module M = Camlp4QuotationCommon.Make Syntax Syntax.AntiquotSyntax;
|
2006-07-04 04:58:26 -07:00
|
|
|
include M;
|
|
|
|
end;
|
|
|
|
|
|
|
|
let module M = Register.OCamlSyntaxExtension Id Make in ();
|